Indicates whether the application’s users are assigned to a given role. GetRoleAccessForAllUsers2 returns arrays that identify the users and whether they are assigned to a role; the arrays have a one-to-one correspondence.
<HsvSecurityAccess>.GetRoleAccessForAllUsers2 lRoleID, pvarabstrUserSIDs, pvarabstrNames, pvarabHasAccess
Long (ByVal). The ID of the role. For a list of valid role IDs, see Role ID Constants. To get a role’s ID from its name, use GetRoleID. | |
Variant. Returns an array containing the security identifiers of an application’s users. | |
Variant. Returns an array containing the usernames of an application’s users. | |
Variant. Returns an array of flags that indicate whether the users are assigned to the role. An element returns TRUE if the user is assigned to the role, FALSE otherwise. |