S
- Steve -
I have an ASP.NET webpage that allows an admin to change a password on a
user account. I know I can use the properties DirectoryEntry.Username, and
DirectoryEntry.Password to use as the credentials on the operation.
How can I use the credentials that they used to log into IIS though? If I
don't set those two properties I get an error message that the ASP.NET
account does not have permission to use these resources. How do I get the
credentials of the logged on user to be used?
user account. I know I can use the properties DirectoryEntry.Username, and
DirectoryEntry.Password to use as the credentials on the operation.
How can I use the credentials that they used to log into IIS though? If I
don't set those two properties I get an error message that the ASP.NET
account does not have permission to use these resources. How do I get the
credentials of the logged on user to be used?