Hello Friends
I send UserName & Password(Login Form) Form Client in the proxy to the server by this coding
myProxy.ClientCredentials.UserName="UserName";
myProxy.ClientCredentials.Pasword="Password";
In addition Our ClientCredentialType Must be MessageCredentialType.UserName.
in the server I need UserName & Password For Impersonate User to Make Log in the SQLSERVER with the same User that send Request to Server.
So For this I need to get Sending Password in the Server And I don't Know How Must I do it?
for get UserName I Use this Code ServiceSecurityContex.Current.PrimeryIdentity.Name