Sets a user’s access and email alerting rights for a security class.
<HsvSecurityAccess>.SetSecurityClassRightsForUser2 lSecurityClassID, bstrUserSID, lRights, lEmailAlerting
Long (ByVal). The ID of the security class. You can get this ID by passing the security class name to GetSecurityClassID. | |
Long (ByVal). The ID of the access rights to be assigned. Valid values are represented by the enumeration described in Access Rights Constants. | |
Long (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. |