Initializes a new instance of the CustomPrincipal class
Namespace: Caisis.SecurityAssembly: Caisis.Security (in Caisis.Security.dll) Version: 3.5.4947.22627
Syntax
C# |
---|
public CustomPrincipal( IIdentity id, string[] roles ) |
Visual Basic |
---|
Public Sub New ( id As IIdentity, roles As String() ) |
Visual C++ |
---|
public: CustomPrincipal( IIdentity^ id, array<String^>^ roles ) |
Parameters
- id
- Type: System.Security.Principal..::..IIdentity
[Missing <param name="id"/> documentation for "M:Caisis.Security.CustomPrincipal.#ctor(System.Security.Principal.IIdentity,System.String[])"]
- roles
- Type: array<System..::..String>[]()[][]
[Missing <param name="roles"/> documentation for "M:Caisis.Security.CustomPrincipal.#ctor(System.Security.Principal.IIdentity,System.String[])"]