2011-12-28 8 views

答えて

8

:ユーザー名とパスワードの両方が必要な場合

OperationContext.Current.ServiceSecurityContext.PrimaryIdentity.Name 

は、ロリー・プリムローズは、彼の記事WCF Security: Getting the password of the user

+0

リンクが死んでいる中で、それを説明しています。 –

+0

@ MichaelS.Miller試してみてください:http://www.neovolve.com/2008/04/07/wcf-security-getting-the-password-of-the-user/ – user797717