Class Users


  • public class Users
    extends Object
    Functions for managing users.
    • Method Detail

      • editUserV30

        public BulkOperationResultJson editUserV30​(EditUserJson editUserJson)
        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

        public ItemListJson<ClassificationJson> 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
        public UserRoleJson getUserRoleV30​(String domain,
                                           String name,
                                           String roomId)
        Deprecated.
        Gets user's role. Roles can be Workspace or Organization Administrators, Contributors or Visitors.
        Parameters:
        domain - domain of user
        name - user name
        roomId - workspace that user is member of
        Returns:
        userRoleJson - the role of the user.
      • sendEmailV30

        public BulkOperationResultJson sendEmailV30​(SendEmailJson sendEmailJson)
        Sends Email.
        Parameters:
        sendEmailJson - used when sending an email
        Returns:
        bulkOperationResultJson - details about the success of each request, for each entity and file.