HttpDigestClientCredential::AllowedImpersonationLevel Property

 

Gets or sets the level of impersonation that the client allows with the client credential provided.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property TokenImpersonationLevel AllowedImpersonationLevel {
	TokenImpersonationLevel get();
	void set(TokenImpersonationLevel value);
}

Property Value

Type: System.Security.Principal::TokenImpersonationLevel

The TokenImpersonationLevel that the client grants the server as part of HTTP digest authentication.

Allowable values include:

Delegation,

Identification, and

Impersonation.

Due to the limitations of Digest authentication, when the client is using non-default credentials, only Impersonation and Delegation levels are allowed.

The following example shows how to set this property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: