pp108 : DeleteAutoDelegationsForUser

DeleteAutoDelegationsForUser

This method is used to delete the auto delegations of a user based on the specified criteria.

SOAP Request

<DeleteAutoDelegationsForUser xmlns="http://schemas.cordys.com/notification/autodelegation/1.0">
    <UserDN>cn=user1,cn=organizational users,o=system,cn=cordys,cn=defaultInst,o=vanenburg.com</UserDN>
    <Status>
        <Value>ALL</Value>
        <!-- Or -->
        <Value>ACTIVE</Value>
        <Value>PLANNED</Value>
        <Value>COMPLETED</Value>
    </Status>
    <Delegates>
        <Delegate>
            <DelegationId>001CC438-906D-11E0-ED35-B202C100140F</DelegationId>
        </Delegate>
    </Delegates>
</DeleteAutoDelegationsForUser>

Request Parameters

Parameter

Description

Required?

UserDN

Refers to the DN of the user.

Mandatory. This cannot be left empty even for the current user. If you want to delete the delegation of other users, then you must have Notification Admin Role.

Status

Refers to the status of the delegation.

Optional. If Status is provided, then DelegationId will not be considered.
Possible values are:

  • ALL
  • ACTIVE
  • PLANNED
  • COMPLETED. You can also provide a combination of these values.
    If ALL is provided, then all the delegations will be deleted.

DelegationId

Refers to the unique delegation id of the user.

Optional. If this value is provided, then Status need not be provided. To delete a specific instance of auto-delegation, the corresponding 'DelegationId' can be provided.

Note: Though Status and DelegationID are optional parameters, you must provide any one of them in order to delete the auto delegation.

SOAP Response

<DeleteAutoDelegationsForUserResponse>
    <UserDN/>
    <Deleted/>
</DeleteAutoDelegationsForUserResponse>

Response Parameters

Response parameter

Description

UserDN

Refers to the DN of the user whose auto delegations are deleted.

Deleted

Returns a boolean.

  • true - if the auto delegation is deleted successfully.
  • false - if the auto delegation cannot be deleted.