Returns the security identifiers, usernames, and identity types of the users in a user group.
<HsvSecurityAccess>.EnumUsersInGroup bstrGroupSID, lBitmaskFlags, pvarabstrUserSIDS, pvarabstrUserFullNames, pvaralIdentityTypes
Long (ByVal). A bitmask that specifies the identity types to return in the pvaralIdentityTypes argument’s array. Valid values for the bits are represented by the enumeration described in User Groups - User Type Flag Constants. For example, to exclude bits for application administrators from the array, pass HFM_USER_GROUP_ENUM_EXCLUDEADMINS. | |
Variant. Returns an array that contains the users’ security identifiers. | |
Variant. Returns an array that contains the users’ usernames. | |
Variant. Returns an array of bitmasks that indicate the users’ identity types. Valid values for the bits are represented by the enumeration described in Identity Type Constants. |