EnumSecurityClassRights

Returns an XML string containing the access and e-mail alerting rights for the specified users to the specified security classes.

Syntax

<HFMwSecurity>.EnumSecurityClassRights (bstrUsersXml, bstrClassesXml)

Argument

Description

bstrUsersXml

An XML string that specifies the users’ usernames and security identifiers. Following is the structure of the string, which must contain one <User> element per user:

<Users><User><Name>username</Name><Id>security identifier</Id></User></Users>

Input argument. String subtype.

bstrClassesXml

An XML string that specifies the names and IDs of the security classes. Following is the structure of the string, which must contain one <Class> element per security class:

<Classes><Class><Name>security class name</Name><Id>security class Id</Id></Class></Classes>

Input argument. String subtype.

Return Value

Returns an XML string that specifies the users’ access and e-mail alerting rights to the security classes. Following is the structure of the string. There is one <User> element per user; each <User> element contains one <Class> element per security class. Access rights IDs are represented by the HFMConstants enumeration described in Access Rights Constants:

<UserRights><User name="username" id="security identifier" ><Class name="security class name" id="security class ID" alert="Boolean" rights="access rights ID" /></User></UserRights>