[dba-SQLServer]Connection String

David Emerson davide at dalyn.co.nz
Thu Apr 3 16:15:18 CST 2003


AXP ADP/SQL2000.

I can get the current Connection string by using 
CurrentProject.Connection.ConnectionString.

I want to be able to check the current user (User ID = xxx) and run code 
based on who it is.  Is there a simple function to find out the User or do 
I have to do string manipulation on the ConnectionString?

Regards

David Emerson
DALYN Software Ltd
25b Cunliffe St, Johnsonville
Wellington, New Zealand
Ph/Fax (877) 456-1205 



More information about the dba-SQLServer mailing list