GetSecurityClassID

Returns the ID of a security class, given the security class’s name.

Syntax

<HsvSecurityAccess>.GetSecurityClassID bstrSecurityClass, plSecurityClassID

Argument

Description

bstrSecurityClass

String (ByVal). The name of the security class for which the ID is to be returned.

Note:

If the security class does not exist, error number 8004F003 (hexadecimal) is thrown.

plSecurityClassID

Long. Returns the ID of the security class.

Example

GetSecurityClassID is used in the example for SetSecurityClassLabel.