GetApplicationAdministratorAccessForAllUsers2

Indicates which of an application’s users are assigned to the Application Administrator role. This method returns arrays containing the usernames and security identifiers of the application’s users and an array of flags indicating whether the users are assigned to the Application Administrator role. The arrays have a one-to-one correspondence.

Syntax

<HsvSecurityAccess>.GetApplicationAdministratorAccessForAllUsers2 pvarabstrUserSIDs, pvarabstrNames, pvarabHasAccess

Argument

Description

pvarabstrUserSIDs

Variant. Returns an array containing the security identifiers of the application’s users. The array is returned as a String subtype.

pvarabstrNames

Variant. Returns an array containing the usernames of the application’s users. The array is returned as a String subtype.

pvarabHasAccess

Variant. Returns an array of Boolean flags indicating whether the users are assigned to the Application Administrator role. Array elements return TRUE for users assigned to the Application Administrator role, FALSE otherwise.