Class Users
java.lang.Object
com.blackberry.workspaces.sdk.api.resource.Users
public class Users extends Object
Functions for managing users.
-
Constructor Summary
Constructors Constructor Description Users(NetworkConnectionManager connection, APISession apiSession)
-
Method Summary
Modifier and Type Method Description BulkOperationResultJson
editUserV30(EditUserJson editUserJson)
Edits user in context of organization.ItemListJson<ClassificationJson>
getClassificationsV30()
Gets a list of all classifications for the current user, for all workspaces the user has access to.UserRoleJson
getUserRoleV30(String domain, String name, String roomId)
Deprecated.BulkOperationResultJson
sendEmailV30(SendEmailJson sendEmailJson)
Sends Email.
-
Constructor Details
-
Method Details
-
editUserV30
Edits user in context of organization.- Parameters:
editUserJson
- a user to be edited- Returns:
- bulkOperationResultJson - details about the success of each request, for each entity and document.
-
getClassificationsV30
Gets a list of all classifications for the current user, for all workspaces the user has access to.- Returns:
- a list of all permitted classifications.
-
getUserRoleV30
Deprecated.Gets user's role. Roles can be Workspace or Organization Administrators, Contributors or Visitors.- Parameters:
domain
- domain of username
- user nameroomId
- workspace that user is member of- Returns:
- userRoleJson - the role of the user.
-
sendEmailV30
Sends Email.- Parameters:
sendEmailJson
- used when sending an email- Returns:
- bulkOperationResultJson - details about the success of each request, for each entity and file.
-