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:

Helping Protect Healthcare Pipelines from Boot to Memory on OCI

  Encrypting data at rest and in transit is standard practice. What about while it's being processed? This blog authored by me and anoth...