SetUserClassAccess

Sets security class access and email alerting rights for one or more users.

Syntax

<HsvSecurityAccess>.SetUserClassAccess varabstrUserSIDS, varabstrSecClasses, var2DalRights, var2DalAlertable

Argument

Description

varabstrUserSIDS

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

varabstrSecClasses

String array (ByVal). The names of the security classes for which rights are being set.

var2DalRights

Long array (ByVal). A two-dimensional array containing the IDs of the users’ access rights to 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.

var2DalAlertable

Long array (ByVal). 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.