EnumUserClassAccess

Returns the access and email alerting rights that one or more users have for the specified security classes.

Syntax

<HsvSecurityAccess>.EnumUserClassAccess varabstrUserSIDs, varabstrSecClasses, pvar2DalRights, pvar2DalAlertable

Argument

Description

varabstrUserSIDs

String array (ByVal). The users’ security identifiers.

varabstrSecClasses

String array (ByVal). The names of the security classes.

pvar2DalRights

Variant. Returns a two-dimensional array containing the IDs of the users’ access rights for the security classes. The first dimension has a one-to-one correspondence with the varabstrUserSIDs argument’s array, and the second dimension has a one-to-one correspondence with the varabstrSecClasses argument’s array.

IDs of access rights are represented by the enumeration described in Access Rights Constants.

pvar2DalAlertable

Variant. Returns a two-dimensional array containing bitmasks that represent the users’ email alerting rights for the security classes. The first dimension has a one-to-one correspondence with the varabstrUserSIDs argument’s array, and the second dimension has a one-to-one correspondence with the varabstrSecClasses argument’s array.

Valid values for the bits are represented by the enumeration described in E-mail Alerting Constants.