redl1ne
asked on
How can I get a users SID?
I want to extract a users SID via asp, much like
Response.Write(Request.Ser verVariabl es("LOGON_ USER"))
Can this be done?
Response.Write(Request.Ser
Can this be done?
ASKER
I don't need the sessionid, I need the domain accounts SID
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
To be deleted and points refunded
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
GaryC123
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
To be deleted and points refunded
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
GaryC123
EE Cleanup Volunteer
ASKER
Please do. For future reference, I was able to use the user_ssid() function in SQL Server to do what I needed :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Response.write Session.Sessionid
The SessionID property returns the session identifier, a unique identifier that is generated by the server when the session is created. The session ID is returned as a LONG data type.