Sets one or more users’ access and email alerting rights to a given security class. Users’ security identifiers, access right IDs, and email alerting flags are passed in arrays that have a one-to-one correspondence.
<HsvSecurityAccess>.SetSecurityClassRightsForManyUsers2 lSecurityClassID, varabstrUserSIDs, varalRights, varalEmailAlerting
Long (ByVal). Long (ByVal). The ID of the security class. You can get this ID by passing the security class 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. |