Initializes an instance of
ClaimsIdentity
using the name and authentication type from the specified
IIdentity instance.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim identity As IIdentity
Dim instance As New ClaimsIdentity(identity)
|
Syntax
Visual Basic |
Public Sub New ( _
identity As IIdentity _
)
|
C# |
public ClaimsIdentity (
IIdentity identity
)
|
C++ |
public:
ClaimsIdentity (
IIdentity^ identity
)
|
J# |
public ClaimsIdentity (
IIdentity identity
)
|
JScript |
public function ClaimsIdentity (
identity : IIdentity
)
|
Parameters
- identity
-
The IIdentity to draw the name and authentication type
from.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also