28 references to ImpersonationOption
System.ServiceModel (24)
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
441
operation.Behaviors.Find<OperationBehaviorAttribute>().Impersonation =
ImpersonationOption
.Allowed;
System\ServiceModel\Dispatcher\DispatchOperation.cs (2)
18
ImpersonationOption
impersonation;
151
public
ImpersonationOption
Impersonation
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
30
readonly
ImpersonationOption
impersonation;
166
internal
ImpersonationOption
Impersonation
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (4)
110
if (operation.Impersonation ==
ImpersonationOption
.Required)
114
else if (operation.Impersonation ==
ImpersonationOption
.NotAllowed)
175
return ((rpc.Operation.Impersonation ==
ImpersonationOption
.Required)
176
|| ((rpc.Operation.Impersonation ==
ImpersonationOption
.Allowed) && this.impersonateCallerForAllOperations));
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (3)
296
(operationBehavior == null || operationBehavior.Impersonation ==
ImpersonationOption
.NotAllowed))
300
if (impersonateCallerForAllServiceMethods || (operationBehavior != null && operationBehavior.Impersonation ==
ImpersonationOption
.Required))
1058
if (operationBehavior != null && (operationBehavior.Impersonation ==
ImpersonationOption
.Required))
System\ServiceModel\ImpersonationOption.cs (7)
15
public static bool IsDefined(
ImpersonationOption
option)
17
return (option ==
ImpersonationOption
.NotAllowed ||
18
option ==
ImpersonationOption
.Allowed ||
19
option ==
ImpersonationOption
.Required);
22
internal static bool AllowedOrRequired(
ImpersonationOption
option)
24
return (option ==
ImpersonationOption
.Allowed ||
25
option ==
ImpersonationOption
.Required);
System\ServiceModel\OperationBehaviorAttribute.cs (5)
19
internal const
ImpersonationOption
DefaultImpersonationOption =
ImpersonationOption
.NotAllowed;
24
ImpersonationOption
impersonation =
ImpersonationOption
.NotAllowed;
46
public
ImpersonationOption
Impersonation
System.ServiceModel.Routing (4)
System\ServiceModel\Routing\RoutingService.cs (4)
225
[OperationBehavior(Impersonation =
ImpersonationOption
.Allowed)]
236
[OperationBehavior(Impersonation =
ImpersonationOption
.Allowed)]
247
[OperationBehavior(Impersonation =
ImpersonationOption
.Allowed)]
258
[OperationBehavior(Impersonation =
ImpersonationOption
.Allowed)]