Delete Permission

Description

Delete a permission, using the permission id.

Additional checks are made according to the permission type of the id:

If the permission does not exist, no error is raised.

If the deletion of the permission removes the user's permission to recreate it, it is reinstated for just that user.  This stops the user "pulling the rug away" from themselves.

Input

<DeletePermission>
<userLogonReference>userid</userLogonReference>
<password>password</password>
<permissionIdentifier>permission id</permissionIdentifier>
</DeletePermission>

Output

<DeletePermission>
<errorNumber>0</errorNumber>
</DeletePermission>

If a user error is returned, errorMessage and errorFields will also be returned.

Errors

101 - not authorised
103 - parameter error

Class

com.metrici.xerula.DeletePermissionService