Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Me Again! Get network user

Status
Not open for further replies.

NickyJay

Programmer
Sep 1, 2003
217
GB
Hi All,

I'm posting rather frequently of late! Does anyone know of a simple way to be able to retrieve the user logged on to a network (microsoft)? In Access in the past i have used environ() to do this - is there any sort of CF equivalent?

Using CFMX7, and Active Directory user accounts.

Basically i have a DB with a Temp table to allow any user on our network to edit a record. The update goes to the temp table and emails a member of a certain team to check the update (just incase) and apply it to the real table the temp is a copy of. I just want to be able to store teh name of the person that has made teh change on the temp table.

Thanks for reading!
Nicola
 
CGI.AUTH_USER

The resource has to be protected by the OS and you need authentication turned on for this variable to be populated. You may also have to strip out the domain info since it's usually populated with DOMAIN\USER.

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
Pity the insomniac dyslexic agnostic. He stays up all night, wondering if there really is a dog.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top