EnumUsers3

Returns arrays containing the security identifiers and usernames of an application’s users. If delegated user management is enabled in Shared Services, you can filter users who have access rights not granted to the connected user.

The arrays returned have a one-to-one correspondence.

Syntax

<HsvSecurityAccess>.EnumUsers3 AccessType, pvarabstrUserSIDs, pvarabstrNames
ArgumentDescription
AccessTypeLong (ByVal). If delegated user management is enabled, this argument lets you to filter users who have access rights not granted to the connected user. Pass 1 to filter by access rights, 0 otherwise.
pvarabstrUserSIDs

Variant. Returns an array containing the security identifiers. The array is returned as a String subtype.

pvarabstrNames

Variant. Returns an array containing the usernames. The array is returned as a String subtype.