EnumSecurityClassesForConnectedUser

Returns the labels and internal IDs of all the security classes to which the connected user has a given level of access rights. The arrays have a one-to-one correspondence.

Syntax

<HFMwSecurity>.EnumSecurityClassesForConnectedUser lRequiredAccessRights, pvaralIDs, pvarabstrSecurityClasses

Argument

Description

lRequiredAccessRights

The level of access rights. Valid values are represented by the HFMConstants type library constants listed in Access Rights Constants.

Input argument. Long subtype.

pvaralIDs

Returns an array containing the IDs of the security classes to which the user has the specified level of access rights.

Input/output argument.

pvarabstrSecurityClasses

Returns an array containing the labels of the security classes to which the user has the specified level of access rights.

Input/output argument.