Default name for domain



Hello, I'm creating a script that will create logins for groups of a windows machine, and I want to know if there's a way for me not to have to specify the machine domain name.

Something like the '.\sqlexpress' name to identify the sqlexpress instance in running in the local machine:

CREATE LOGIN [.\O2 - Viewer] FROM WINDOWS

Does something like this exist?

Regards,
Pablo Montilla


.



Relevant Pages

  • [SLE] Trace user logins in SAMBA
    ... I have read a lot of documentation but i cannot find a way to track user ... logins, from a Windows machine, in Samba. ... Does the log parameter in the smb.conf file does the job. ...
    (SuSE)
  • Re: writting to already connected database
    ... Logins.....that would confuse you and probably the script as well. ... username and password submited by a form exsist and that they match. ... script verifies that the username and password match have it write those values ... to is "logins" and the name of the column inside the table is "Logins". ...
    (microsoft.public.frontpage.client)
  • Re: aix shell script
    ... > I need a shell script to stop duplicate concurrent logins. ... auth1 = SYSTEM,auth_method ... "root" should be set as an exception to this rule: ...
    (comp.unix.aix)
  • Re: aix shell script
    ... timed log out: ... there is a timed-logout variable for the shell. ... >>I need a shell script to stop duplicate concurrent logins. ...
    (comp.unix.aix)
  • starting programs from python script on windows
    ... i want to automate starting programs on my windows machine and i want ... This is a sample script: ... print " Starting app 1" ... Het proces heeft geprobeerd naar een niet-bestaande sluis te schrijven. ...
    (comp.lang.python)