|
-
Apr 22nd, 2008, 07:54 AM
#1
Thread Starter
Lively Member
Select window login
Hello friends
i want to select nt window login (System login) name in sql server 2000.
Like If i am login with vijay name then selected name should be vijay
Regards
Vijay Singh
Last edited by vijay2006; Apr 22nd, 2008 at 10:37 AM.
-
Apr 22nd, 2008, 11:38 AM
#2
Re: Select window login
What kind of authentication are you using now?
-
Apr 22nd, 2008, 01:39 PM
#3
Re: Select window login
Have you tried the environment variable System_User...
Select System_User
Try this select statement in a query window - see what you get. Sometimes it comes back with a DOMAIN attached to the front of the value.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|