Last post Sep 15, 2010 11:33 AM by koenj
Sep 15, 2010 11:33 AM|KoenJ|LINK
I'm creating a WPF application, for which all users must be authenticated to an Active Directory.
- Clientside, i'm using Client Application Services.
- Server-side, i have an asp.net web application with a AspNetActiveDirectoryMembershipProvider.
All is working as expected.
There's one catch however.
Some of the wpf application users log in with their windows in to the domain, others don't.
So for the users which are logged in to the domain (group A), I do not want to ask for their username/password at application startup.
The other users (group B) of course have to supply their Active Directory Username/password at application startup.
This group B just perform Membership.ValidateUser(userName, password), ending up in the AspNetActiveDirectoryMembershipProvider and be authenticated.
However, how can I check for group A that they have been succesfully authenticated to the AspNetActiveDirectoryMembershipProvider, without having
to ask their username/password?