getApprovalPlansForUser

Gets the approval plan IDs for a user. This method returns three strings with the user's time, expense, and mileage approval plan IDs, in that order. If the user does not have an approval plan assigned to one or more of those sheet types, the returned ID for it will be an empty string.

Arguments

Name Type Description
skey string

userid string

The ID of the user to examine.

Return

The getApprovalPlansForUser method returns the IDs of the user's time, expense, and mileage approval plans (an array of string).