GetUserAccessForAllSecurityClasses2

Returns a given user’s access rights to the current application’s security classes. GetUserAccessForAllSecurityClasses2 returns arrays of security class IDs, security class names, and the user’s access rights; the arrays have a one-to-one correspondence.

Syntax

<HFMwSecurity>.GetUserAccessForAllSecurityClasses2 bstrUserSID, pvaralSecurityClassIDs, pvarabstrSecurityClasses, pvaralRights

Argument

Description

bstrUserSID

The user’s security identifier.

Input argument. String subtype.

pvaralSecurityClassIDs

Returns an array containing the IDs that represent the application’s security classes.

Input/output argument.

pvarabstrSecurityClasses

Returns an array containing the names of the application’s security classes.

Input/output argument.

pvaralRights

Returns an array of the access rights for the security classes.

Valid values are represented by the HFMConstants type library constants listed in Access Rights Constants.

Input/output argument.