Update User Group

Description

Update the name and description of a user group.

The user must be authorised to administer the user group.

Input

<UpdateUserGroup>
<userLogonReference>userid</userLogonReference>
<password>password</password>
<userGroupIdentifier/> <userGroupReference/>
<userGroupName/>
<userGroupDescription/>
<mayCreateUserGroup/>
<mayCreateOwningUserGroup/>
<mayMaintainProfile/>
</UpdateUserGroup>

User group must be passed as an identifier or a reference.

Name is mandatory.  If it is omitted, a user error is returned.

The mayXXX parameters are used to permit or remove permissions for the user group.

  • mayCreateUserGroup -> create-usergroup
  • mayCreateOwningUserGroup -> create-owning-usergroup
  • mayMaintainProfile -> maintain-profile

For each of these, if set to true, the appropriate permission is granted to the user group. If set to false, the permission is removed from the user group. If not set, the permission is unchanged.

Output

<UpdateUserGroup>
<errorNumber>0</errorNumber>
</UpdateUserGroup>

Errors

101 - Not authorised
102 - Not found
103 - Parameter error
105 - User error

Class

com.metrici.xerula.UpdateUserGroupService