@InterfaceStability.Uncommitted @InterfaceAudience.Public public class User extends Object
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()
public String userId()
public AuthDomain domain()
public UserRole[] roles()
Copyright © 2015 Couchbase, Inc.