Szerkesztés

Megosztás a következőn keresztül:


WindowsClaimSet Constructors

Definition

Initializes a new instance of the WindowsClaimSet class.

Overloads

WindowsClaimSet(WindowsIdentity)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

WindowsClaimSet(WindowsIdentity, Boolean)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

WindowsClaimSet(WindowsIdentity, DateTime)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

WindowsClaimSet(WindowsIdentity, Boolean, DateTime)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

WindowsClaimSet(WindowsIdentity, String, Boolean, DateTime)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

WindowsClaimSet(WindowsIdentity)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

public:
 WindowsClaimSet(System::Security::Principal::WindowsIdentity ^ windowsIdentity);
public WindowsClaimSet (System.Security.Principal.WindowsIdentity windowsIdentity);
new System.IdentityModel.Claims.WindowsClaimSet : System.Security.Principal.WindowsIdentity -> System.IdentityModel.Claims.WindowsClaimSet
Public Sub New (windowsIdentity As WindowsIdentity)

Parameters

windowsIdentity
WindowsIdentity

A WindowsIdentity that specifies the Windows identity.

Remarks

The claims representing the Windows groups to which this user belongs are added to the claim set.

The expiration time is set to 10 hours.

Applies to

WindowsClaimSet(WindowsIdentity, Boolean)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

public:
 WindowsClaimSet(System::Security::Principal::WindowsIdentity ^ windowsIdentity, bool includeWindowsGroups);
public WindowsClaimSet (System.Security.Principal.WindowsIdentity windowsIdentity, bool includeWindowsGroups);
new System.IdentityModel.Claims.WindowsClaimSet : System.Security.Principal.WindowsIdentity * bool -> System.IdentityModel.Claims.WindowsClaimSet
Public Sub New (windowsIdentity As WindowsIdentity, includeWindowsGroups As Boolean)

Parameters

windowsIdentity
WindowsIdentity

A WindowsIdentity that specifies the Windows identity.

includeWindowsGroups
Boolean

true to include the claims representing the Windows groups to which this user belongs; otherwise, false.

Remarks

The expiration time is set to 10 hours.

Applies to

WindowsClaimSet(WindowsIdentity, DateTime)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

public:
 WindowsClaimSet(System::Security::Principal::WindowsIdentity ^ windowsIdentity, DateTime expirationTime);
public WindowsClaimSet (System.Security.Principal.WindowsIdentity windowsIdentity, DateTime expirationTime);
new System.IdentityModel.Claims.WindowsClaimSet : System.Security.Principal.WindowsIdentity * DateTime -> System.IdentityModel.Claims.WindowsClaimSet
Public Sub New (windowsIdentity As WindowsIdentity, expirationTime As DateTime)

Parameters

windowsIdentity
WindowsIdentity

A WindowsIdentity that specifies the Windows identity.

expirationTime
DateTime

A DateTime that specifies the expiration time for the claim set.

Applies to

WindowsClaimSet(WindowsIdentity, Boolean, DateTime)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

public:
 WindowsClaimSet(System::Security::Principal::WindowsIdentity ^ windowsIdentity, bool includeWindowsGroups, DateTime expirationTime);
public WindowsClaimSet (System.Security.Principal.WindowsIdentity windowsIdentity, bool includeWindowsGroups, DateTime expirationTime);
new System.IdentityModel.Claims.WindowsClaimSet : System.Security.Principal.WindowsIdentity * bool * DateTime -> System.IdentityModel.Claims.WindowsClaimSet
Public Sub New (windowsIdentity As WindowsIdentity, includeWindowsGroups As Boolean, expirationTime As DateTime)

Parameters

windowsIdentity
WindowsIdentity

A WindowsIdentity that specifies the Windows identity.

includeWindowsGroups
Boolean

true to include the Windows groups to which this user belongs; otherwise, false.

expirationTime
DateTime

A DateTime that specifies the expiration time for the claim set.

Applies to

WindowsClaimSet(WindowsIdentity, String, Boolean, DateTime)

Initializes a new instance of the WindowsClaimSet class by using the Windows user identity specified by the WindowsIdentity object.

public:
 WindowsClaimSet(System::Security::Principal::WindowsIdentity ^ windowsIdentity, System::String ^ authenticationType, bool includeWindowsGroups, DateTime expirationTime);
public WindowsClaimSet (System.Security.Principal.WindowsIdentity windowsIdentity, string authenticationType, bool includeWindowsGroups, DateTime expirationTime);
new System.IdentityModel.Claims.WindowsClaimSet : System.Security.Principal.WindowsIdentity * string * bool * DateTime -> System.IdentityModel.Claims.WindowsClaimSet
Public Sub New (windowsIdentity As WindowsIdentity, authenticationType As String, includeWindowsGroups As Boolean, expirationTime As DateTime)

Parameters

windowsIdentity
WindowsIdentity

A WindowsIdentity that specifies the Windows identity.

authenticationType
String

The authentication type for the Windows Identity.

includeWindowsGroups
Boolean

true to include the Windows groups to which this user belongs; otherwise, false.

expirationTime
DateTime

A DateTime that specifies the expiration time for the claim set.

Applies to