@InterfaceStability.Uncommitted @InterfaceAudience.Public public class User extends Object
Rbac user in couchbase
Modifier | Constructor and Description |
---|---|
protected |
User(String name,
String userId,
AuthDomain domain,
UserRole[] roles) |
Modifier and Type | Method and Description |
---|---|
AuthDomain |
domain()
Get user domain local or ldap
|
String |
name()
Get name of the user
|
UserRole[] |
roles()
Get user roles
|
String |
userId()
Get user id
|
protected User(String name, String userId, AuthDomain domain, UserRole[] roles)
public String name()
Get name of the user
public String userId()
Get user id
public AuthDomain domain()
Get user domain local or ldap
public UserRole[] roles()
Get user roles
Copyright © 2015 Couchbase, Inc.