WindowsSecurityToken Constructor (WindowsIdentity, String, String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new instance of WindowsSecurityToken.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public WindowsSecurityToken(
	WindowsIdentity windowsIdentity,
	string id,
	string authenticationType
)

Parameters

windowsIdentity
Type: System.Security.Principal.WindowsIdentity

A WindowsIdentity that represents a Windows user.

id
Type: System.String

A unique identifier for the security token.

authenticationType
Type: System.String

The authentication type for the security token.

.NET Framework
Available since 4.0
Return to top
Show: