public class PermissionUser extends RealmObject
SyncUser.getIdentity()
Constructor and Description |
---|
PermissionUser() |
PermissionUser(String id)
Creates a new user.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the identify of this user.
|
Role |
getPrivateRole()
The user's private role.
|
RealmResults<Role> |
getRoles()
Returns all
Role s this user has. |
addChangeListener, addChangeListener, addChangeListener, addChangeListener, asChangesetObservable, asChangesetObservable, asFlowable, asFlowable, deleteFromRealm, deleteFromRealm, freeze, freeze, getRealm, getRealm, isFrozen, isFrozen, isLoaded, isLoaded, isManaged, isManaged, isValid, isValid, load, load, removeAllChangeListeners, removeAllChangeListeners, removeChangeListener, removeChangeListener, removeChangeListener, removeChangeListener
public PermissionUser()
public PermissionUser(String id)
id
- identify of the user. Should be identitical to SyncUser.getIdentity()
.public String getId()
public RealmResults<Role> getRoles()
Role
s this user has.