Constable Authorization Engine 2.0 BETA

ComPlusRole Constructor (String, String)

[This is preliminary documentation and subject to change.]

Initializes a new instance of the ComPlusRole class with the given Id and a name of the associated COM+ role.

[Visual Basic]
Overloads Public Sub New( _
   ByVal id As String, _
   ByVal comPlusRoleName As String _
)
[C#]
public ComPlusRole(
   string id,
   string comPlusRoleName
);

Parameters

id
The Id of the object. Role IDs must be unique for all objects contained within a given RoleCollection instance.
comPlusRoleName
The name of the role as defined in the COM+ catalog.

Remarks

CAUTION If the comPlusRoleName doesn't exist in the COM+ catalog, the IsMember implementation will always return false.

See Also

ComPlusRole Class | LaMarvin.Constable.Model Namespace | ComPlusRole Constructor Overload List