windows authentication in asp.net?
Posted on 2009-04-15
I am trying to create a web app with a windows authentication using asp.net
I will have to use the security group to control users' role.
Here is my problem.
our windows login used tobe 3 letters last + 1 letter of first name + 1 letter of middle name + 1 digit if same middle name.
The admin folks changed the login name convention a few months ago.
Now they give 1 letter + 6 digits
The older login names also got these new login.
They can either use new or old login name if they have older login id.
The problem I am seeing is that I can login onto the system using the old user id.
However when I add myself to the security group on the active directly.
It gets added in using the digits id.
It converts automatically to the digit id.
So I check the userid in asp.net from the system I will get the older loginid but I try to compare that to the security group, it doesn't recognize it.
How do I get around this?
EX) Smith, John P
old login: smijp,