user that executes web service
-
Hi, I hope to be in the right forum with this question: I would like to create a webservice method, that returns the username of the user that executes its assembly. I hope to be clear here. Typically it would be the ASPNET user that is returned, but i want to get the exact user. Is this possible? And if so ... what do i have to do ?
don't waste your time, or time will waste you
-
Hi, I hope to be in the right forum with this question: I would like to create a webservice method, that returns the username of the user that executes its assembly. I hope to be clear here. Typically it would be the ASPNET user that is returned, but i want to get the exact user. Is this possible? And if so ... what do i have to do ?
don't waste your time, or time will waste you
Hi, Since the calling of the function in web reference is done by the asp.net user, you can't get the exact user. But you can get it in the webform using the code Request.LogonUserIdentity.Name give the exact user who is accessing the page. Request.LogonUserIdentity give the system.security.principal.windowsidentity class object.