WorkRequests.getMembers (Method)

Returns zero or more structures, each containing information about the users and groups assigned to a work request resource. This information can be constrained using this method's arguments.

Returns:

WorkRequests_GetMembers_Result (query)

Each row of the returned query results has the following fields:

Field Name Type Description
ID UserGroupID The member's user or group ID.
Name Person_FirstNameMiddleNameLastName If the member is a user, this is the 'firstname middlename lastname'. If the member is a group, this is the group's name.
Type UserGroupType The members type, either 'User' or 'Group'.

Arguments:

Name Type Required Description
resourceID WorkRequestResourceIDActive Required A work request's ID.
type UsersGroupsFilter Optional. Defaults to 'All'. The type of user or group to be returned, as follows: 'All', 'Users', or 'Groups'.
sortBy WorkRequestSortBy Optional. Defaults to 'Type'. The column CommonSpot uses to sort the returned information, as follows: 'Type' or 'Name'.

Context:

License Requirements None
Permission Requirements Contributor
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None