Sets a user’s access and email alerting rights for one or more security classes. Security and access right IDs are passed in arrays that have a one-to-one correspondence.
<HsvSecurityAccess>.SetManySecurityClassRightsForUser2 bstrUserSID, varalSecurityClassIDs, varalRights, varalEmailAlerting
Long array (ByVal). The IDs of the security classes. You can get a security class’s ID by passing its name to GetSecurityClassID. | |
Long array (ByVal). The IDs of the access rights to be assigned. Valid values are represented by the enumeration described in Access Rights Constants. | |
Long array (ByVal). An array of bitmasks that represent the email alerting rights to assign. Valid values for the bits are represented by the enumeration described in E-mail Alerting Constants. |