Package io.continual.iam.identity
Interface Group
- All Superinterfaces:
UserDataHolder
- All Known Implementing Classes:
CommonJsonGroup
A group of users
-
Method Summary
Methods inherited from interface io.continual.iam.identity.UserDataHolder
getAllUserData, getUserData, putUserData, reload, removeUserData
-
Method Details
-
getId
String getId()Get an identifier for this group- Returns:
- a string id
-
getName
String getName()Get a readable name for this group- Returns:
- a name that's not necessarily unique in the system
-
isMember
Is the given user a member of this group?- Parameters:
userId- a user ID- Returns:
- true if the user is a member
- Throws:
IamSvcException- if there's a problem in the IAM service
-
getMembers
Get members of the group- Returns:
- a set of 0 or more user IDs
- Throws:
IamSvcException- if there's a problem in the IAM service
-