Class UserAndMetadata
java.lang.Object
com.couchbase.client.java.manager.user.UserAndMetadata
- 
Constructor SummaryConstructorsConstructorDescriptionUserAndMetadata(AuthDomain domain, String username, String displayName, Collection<RoleAndOrigins> effectiveRoles, Collection<String> groups, Collection<String> externalGroups, String passwordChanged) 
- 
Method SummaryModifier and TypeMethodDescriptiondomain()Returns all of the user's roles, including roles inherited from groups.Returns all of the user's roles plus information about whether each role is assigned specifically to the user or inherited from a group, and if so which group.Returns the roles assigned specifically to the user.Returns the time the user's password was last set, if known.toString()user()Returns a new mutableUserwith initial values matching the data in thisUserAndMetadata.
- 
Constructor Details- 
UserAndMetadatapublic UserAndMetadata(AuthDomain domain, String username, String displayName, Collection<RoleAndOrigins> effectiveRoles, Collection<String> groups, Collection<String> externalGroups, String passwordChanged) 
 
- 
- 
Method Details- 
domain
- 
userReturns a new mutableUserwith initial values matching the data in thisUserAndMetadata.
- 
innateRolesReturns the roles assigned specifically to the user. Excludes roles that are only inherited from groups.
- 
effectiveRolesReturns all of the user's roles, including roles inherited from groups.
- 
effectiveRolesAndOriginsReturns all of the user's roles plus information about whether each role is assigned specifically to the user or inherited from a group, and if so which group.
- 
externalGroups
- 
passwordChangedReturns the time the user's password was last set, if known.
- 
toString
 
-