| Constable Authorization Engine 2.0 BETA |
|
DynamicPrincipal Constructor (IIdentity, Boolean)
[This is preliminary documentation and subject to change.]
Initializes a new instance of the DynamicPrincipal object.
[Visual Basic]
Overloads Public Sub New( _
ByVal
identity As
IIdentity, _
ByVal
isInRoleResult As
Boolean _
)
[C#]
public DynamicPrincipal(
IIdentity identity,
bool isInRoleResult);
Parameters
-
identity
- The IIdentity implementation to associate with the current instance.
-
isInRoleResult
- The initial value for the IsInRoleResult property.
Exceptions
| Exception Type |
Condition |
|
ArgumentNullException
|
A a null reference
(Nothing in Visual Basic) was passed as a value of the identity argument. |
See Also
DynamicPrincipal Class | LaMarvin.Constable.Principal Namespace | DynamicPrincipal Constructor Overload List