[Mono-winforms-list] Current Authenticated User
user65
65rnov at gmail.com
Wed Jan 12 15:51:33 EST 2011
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.
More information about the Mono-winforms-list
mailing list