public interface UserServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
User[] |
createUsers(User[] users)
Creates new
User objects. |
Role[] |
getAllRoles()
Returns the
Role objects that are defined for the users
of the
network. |
User |
getCurrentUser()
Returns the current
User. |
UserPage |
getUsersByStatement(Statement filterStatement)
|
UpdateResult |
performUserAction(UserAction userAction,
Statement filterStatement)
Performs actions on
User objects that match the given
Statement.query. |
User[] |
updateUsers(User[] users)
Updates the specified
User objects. |
User[] createUsers(User[] users) throws RemoteException, ApiException
User objects.RemoteExceptionApiExceptionRole[] getAllRoles() throws RemoteException, ApiException
Role objects that are defined for the users
of the
network.RemoteExceptionApiExceptionUser getCurrentUser() throws RemoteException, ApiException
User.RemoteExceptionApiExceptionUserPage getUsersByStatement(Statement filterStatement) throws RemoteException, ApiException
UserPage of User objects that satisfy
the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
email |
UserRecord.email |
id |
UserRecord.id |
name |
UserRecord.name |
roleId |
UserRecord.roleId
|
rolename |
UserRecord.roleName
|
status |
ACTIVE if User.isActive is true; INACTIVE
otherwise |
RemoteExceptionApiExceptionUpdateResult performUserAction(UserAction userAction, Statement filterStatement) throws RemoteException, ApiException
User objects that match the given
Statement.query.RemoteExceptionApiExceptionUser[] updateUsers(User[] users) throws RemoteException, ApiException
User objects.RemoteExceptionApiExceptionCopyright © 2022. All rights reserved.