Platform SDK: Transaction Server

MTS RolesInPackage Collection

[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]

The RolesInPackage collection defines a class of users for a set of components in a package. Each role defines a set of users allowed to invoke interfaces on a component. Roles can be applied to both components and component interfaces. This collection supports the Add and Remove methods. This collection does not support the GetUtilInterface method.

The following table provides a list of the properties supported by the CatalogObjects within the RolesInPackage collection.

Property Description
Name
The role name.
Data Type: String
Default value: “New Role”
Access: Read/write
ID
The universally unique identifier (UUID) for the role.
Data Type: String
Default value: A unique identifier is generated.
Access: Read/Write while using the Add method. After adding an object, Read-only.
Description
Describes the new Role. Description fields hold a maximum of 500 characters.
Data Type: String
Default value: None
Access: Read/write

See Also

UsersInRole, RelatedCollectionInfo, PropertyInfo, ErrorInfo