Returns the ID of a role, given the role’s name.
Syntax
<HsvSecurityAccess>.GetRoleID bstrRole, plRoleID
Argument
Description
bstrRole
String (ByVal). The name of the role.
plRoleID
Long. Returns the role ID. For a list of constants that represent role IDs, see Role ID Constants.
Example
GetRoleID is used in the example for AddUserToRole2.