Export (0) Print
Expand All

ServiceAuthorizationManager.GetAuthorizationPolicies Method

Gets the set of policies that participate in policy evaluation.

Namespace: System.ServiceModel
Assembly: System.ServiceModel (in system.servicemodel.dll)

protected virtual ReadOnlyCollection<IAuthorizationPolicy> GetAuthorizationPolicies (
	OperationContext operationContext
)
protected ReadOnlyCollection<IAuthorizationPolicy> GetAuthorizationPolicies (
	OperationContext operationContext
)
protected function GetAuthorizationPolicies (
	operationContext : OperationContext
) : ReadOnlyCollection<IAuthorizationPolicy>
Not applicable.

Parameters

operationContext

The OperationContext of the current authorization request.

Return Value

A ReadOnlyCollection of type IAuthorizationPolicy.

The Windows Communication Foundation (WCF) implementation provides a default set of authorization policies. These include the primary token that contains the credentials of the requestor and all supporting tokens, transport tokens, and external policies if specified.

You can override this implementation and provide a different set of policies.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft