You need to configure the service to run the operations under the correct identity

A Windows Communication Foundation (WCF) service exposes two operations: OpA and
OpB OpA needs to execute under the client’s identity, and OpB needs to execute under the
service’s identity. You need to configure the service to run the operations under the correct
identity. What should you do?

A Windows Communication Foundation (WCF) service exposes two operations: OpA and
OpB OpA needs to execute under the client’s identity, and OpB needs to execute under the
service’s identity. You need to configure the service to run the operations under the correct
identity. What should you do?

A.
Set the ImpersonateCallerForAllOperations property of the service’s
ServiceAuthorizationBehavior to false. Apply an OperationBehavior attribute to OpA and set
the Impersonation property to ImpersonationOptionAllowed. Apply an OperationBehavior

attribute to OpB and set the Impersonation property to ImpersonationOption NotAllowed

B.
Set the ImpersonateCallerForAllOperations property of the service’s
ServiceAuthorizationBehavior to true. Apply an OperationBehavior attribute to OpA and set
the Impersonation property to ImpersonationOption.Allowed Apply an OperationBehavior
attribute to OpB and set the Impersonation property to ImpersonationOption NotAllowed

C.
Set the ImpersonateCallerForAllOperations property of the service’s
ServiceAuthorizationBehavior to true. Apply an OperationBehavior attribute to OpA and set
the Impersonation property to ImpersonationOption Required Apply an OperationBehavior
attribute to OpB and set the Impersonation property to ImpersonationOptionAulowed.

D.
Set the ImpersonateCallerForAllOperations property of the service’s
ServiceAuthorizationBehavior to false. Apply an OperationBehavior attribute to OpA and set
the Impersonation property to lmpersonationOption.Required. Apply an OperationBehavior
attribute to OpB and set the Impersonation property to ImpersonationOption.Allowed.



Leave a Reply 0

Your email address will not be published. Required fields are marked *