Hello, I don't know much about the Windows Mobile case. But as far as Silverlight is concerned, you can use forms authentication, and relies on ASP.NET to authenticate the user. You can use ASP.NET Authentication Service. As long as your WCF service is ASP.NET compatible, you will be able to get the user name via HttpContext.Current.User.Identity.Name. I think this should also work for Windows Mobile. For more information, please refer to
http://msdn.microsoft.com/en-us/library/dd560704(VS.95).aspx.
For the WCF level security (transport and message), Silverlight currently only supports None, Transport, TransportWithMessageCredential, and TransportCredentialOnly. That is, the complete message security is not supported.
Regarding Windows Mobile, I'm not sure, but the WCF support in .NET Compact Framework 3.5 is very basic. For example, only None and Transport security mode are supported. But forms authentication should work fine...
Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.