GetUserAccessForAllSecurityClasses2

Returns the level of access rights that a user has for each security class in an application. The method returns access rights and security class information in arrays that have a one-to-one correspondence.

Syntax

<HsvSecurityAccess>.GetUserAccessForAllSecurityClasses2 bstrUserID, pvaralSecurityClassIDs, pvarabstrSecurityClasses, pvaralRights

Argument

Description

bstrUserID

String (ByVal). The user’s security identifier.

pvaralSecurityClassIDs

Variant. Returns the IDs of the security classes.

pvarabstrSecurityClasses

Variant. Returns the names of the security classes.

pvaralRights

Variant. Returns an array containing the users’ access rights to the security classes. Valid values are represented by the enumeration described in Access Rights Constants.