Læs på engelsk Rediger

Del via


AuthorizationContext.Properties Property

Definition

Gets a collection of non-claim properties associated with this AuthorizationContext object.

public abstract System.Collections.Generic.IDictionary<string,object> Properties { get; }

Property Value

A Dictionary<TKey,TValue> that specifies a collection of non-claim properties.

Remarks

Windows Communication Foundation reserves two properties: Identities and Principal. The Identities property is used by an IAuthorizationPolicy to specify the IList<T> of one or more identities that are related to the AuthorizationContext. The Principal property is used by an IAuthorizationPolicy to specify the IPrincipal that is associated with an AuthorizationContext.

Applies to

Produkt Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)