Groups.getNamesGivenIDs (Method)

Returns basic details of given list of users and/or group ids.

Returns:

Groups_GetMembers_Result (query)

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

Field Name Type Description
Description PlainText If the 'Type' member is 'User', this member contains the user's full Name (FirstName LastName). If 'Type' is 'Group', this member contains the group's description.
EmailAddress EmailAddress The email address of the user, empty string if a group.
FirstName PlainText If the 'Type' member is 'User', this member contains the user's first name. If 'Type' is 'Group', this member contains an empty string.
GroupType GroupType_EmptyString Normal or Visitor Context for groups, or empty string for users.
ID UserGroupIDorOrphan The ID of the user or group that is a member of this group.
LastName PlainText If the 'Type' member is 'User', this member contains the user's last name. If 'Type' is 'Group', this member contains an empty string.
MiddleName PlainText If the 'Type' member is 'User', this member contains the user's middle name or empty string if there is no middle name. If 'Type' is 'Group', this member contains an empty string.
Name PlainText_NonNull The member's name. The 'Type' member is 'User', this member contains the user ID (ssmith). If 'Type' is 'Group', this member contains the group's name.
Type UserGroupType A string indicating if this group member is a user or a group.

Arguments:

Name Type Required Description
userGroupIDList UserGroupIDorOrphanList Required A valid list of UserIDs and/or GroupIDs.

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 Customization is not supported for this method.

Error Codes:

None

Notes:

None