Friday, July 08, 2011

Get Security Information from Client

In order to get the security information from client in a Service , use the following Class :

ServiceSecurityContext Class

ServiceSecurityContext.Current.WindowsIdentity.Name
ServiceSecurityContext.Current.PrimaryIdentity.Name

More Information:
http://msdn.microsoft.com/en-us/library/system.servicemodel.servicesecuritycontext.aspx

No comments:

AWS Amplify : Failed to pull sandbox app, reason: unable to get local issuer certificate

Here is the scenario:  You are trying to pull Sandbox app from Amplify and complete data model using the command: amplify pull --sandboxId &...