WindowsClaimSet WindowsClaimSet WindowsClaimSet WindowsClaimSet Class

Definition

Represents a collection of Windows claims that are associated with an entity.

public ref class WindowsClaimSet : System::IdentityModel::Claims::ClaimSet, IDisposable
public class WindowsClaimSet : System.IdentityModel.Claims.ClaimSet, IDisposable
type WindowsClaimSet = class
    inherit ClaimSet
    interface IDisposable
Public Class WindowsClaimSet
Inherits ClaimSet
Implements IDisposable
Inheritance
WindowsClaimSetWindowsClaimSetWindowsClaimSetWindowsClaimSet
Implements

Constructors

WindowsClaimSet(WindowsIdentity) WindowsClaimSet(WindowsIdentity) WindowsClaimSet(WindowsIdentity) WindowsClaimSet(WindowsIdentity)

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

WindowsClaimSet(WindowsIdentity, Boolean) WindowsClaimSet(WindowsIdentity, Boolean) WindowsClaimSet(WindowsIdentity, Boolean) WindowsClaimSet(WindowsIdentity, Boolean)

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

WindowsClaimSet(WindowsIdentity, Boolean, DateTime) WindowsClaimSet(WindowsIdentity, Boolean, DateTime) WindowsClaimSet(WindowsIdentity, Boolean, DateTime) 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, DateTime) WindowsClaimSet(WindowsIdentity, DateTime) WindowsClaimSet(WindowsIdentity, DateTime) WindowsClaimSet(WindowsIdentity, 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) WindowsClaimSet(WindowsIdentity, String, Boolean, DateTime) WindowsClaimSet(WindowsIdentity, String, Boolean, DateTime) WindowsClaimSet(WindowsIdentity, String, Boolean, DateTime)

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

Properties

Count Count Count Count

Gets the number of claims in this collection.

ExpirationTime ExpirationTime ExpirationTime ExpirationTime

Gets the expiration time for this WindowsClaimSet.

Issuer Issuer Issuer Issuer

Gets the issuer for this WindowsClaimSet.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the claim for the specified index.

WindowsIdentity WindowsIdentity WindowsIdentity WindowsIdentity

Gets the Windows identity for this claim set.

Methods

ContainsClaim(Claim) ContainsClaim(Claim) ContainsClaim(Claim) ContainsClaim(Claim)

Determines whether the ClaimSet contains the specified Claim.

(Inherited from ClaimSet)
ContainsClaim(Claim, IEqualityComparer<Claim>) ContainsClaim(Claim, IEqualityComparer<Claim>) ContainsClaim(Claim, IEqualityComparer<Claim>) ContainsClaim(Claim, IEqualityComparer<Claim>)

Determines whether the ClaimSet contains the specified Claim, by using the specified IEqualityComparer<T> object.

(Inherited from ClaimSet)
Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the WindowsClaimSet.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FindClaims(String, String) FindClaims(String, String) FindClaims(String, String) FindClaims(String, String)

Searches for the claim that matches the specified claim type and rights in the WindowsClaimSet.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Gets an IEnumerator<T> that can be used to enumerate the Windows claims in the WindowsClaimSet.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns this WindowsClaimSet object.

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Gets an IEnumerator<T> that can be used to enumerate the Claim object in the ClaimSet.

(Inherited from ClaimSet)

Extension Methods

CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>)

Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>)

Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>)

Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>)

Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName)

Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>)

Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>)

Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>)

Removes every node in the source collection from its parent node.

Applies to