Given a string Plan ID or name, and a list of one or more user Ids, this removes the assignment of the Plan from the user(s).
An exception is raised is the user does not have the authority to do this, or if the Plan ID supplied is not valid, or if any of the user ID's are not valid.
Returns a zero to indicate that the Plan was unassigned from all given users. An exception is not raised if a user was not already assigned to the given Plan ID.
| Name | Type | Description |
|---|---|---|
| skey | string | |
| id | string |
The approval plan ID to remove from users. |
| users | array of string |
The users to unassign the approval plan from. |
The UnassignApprovalPlan method returns zero (an integer).
© Copyright 1997-2007 Journyx