Class Role
java.lang.Object
com.couchbase.client.java.manager.user.Role
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
RoleCreates a new system-wide role (not specific to a bucket)- Parameters:
- roleName- symbolic name of the role
 
- 
RoleCreates a new role. If the bucket parameter is null, a system-wide role is created. Otherwise, the role applies to all scopes and collections within the bucket.- Parameters:
- roleName- symbolic name of the role
- bucket- (nullable) target of the role, or null for a system-wide role. The special value "*" refers to all buckets.
 
- 
RoleCreates a new role. If all of the nullable parameters are null, a system-wide role is created. Otherwise, the role applies to the specified bucket / scope / collection.- Parameters:
- roleName- symbolic name of the role
- bucket- (nullable) The bucket this role applies to, or "*" if it applies to all buckets, or null if not applicable.
- scope- (nullable) The scope within the bucket, or null or "*" if the role applies to all scopes within the bucket.
- collection- (nullable) The collection within the scope, or null or "*" if the role applies to all collections within the scope.
 
 
- 
- 
Method Details