Re: Current Authenticated User
user65 <[email protected]> Wed, 12 Jan 2011 12:51:33 -0800 (PST)
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <[email protected]> |
Hi there Giuliano A suggestion: You can put the authentication logic (Active Directory Authentication) in the service layer (WCF/Web Service), on a IIS machine. eg, private bool AuthenticateUser(... On your client side, you can store the authenticated user details, eg Full name etc in a Singleton object class or something. Thus eliminating the need to use System.Security.Principal.WindowsIdentity.GetCurrent(), and call it like this SingletonClass.Username after the user has been authenticated. Regards, user65 -- View this message in context: http://mono.1490590.n4.nabble.com/Current-Authenticated-User-tp3048473p3214773.html Sent from the Mono - WinForms mailing list archive at Nabble.com. _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list