Jump to content

Getting a local servername


Recommended Posts

Me again ....  I've been over the enviroment variables and can only find the @logonserver option.  What I am looking for is a variable that gives me the name of the LOCAL server, not the server that the user is logged into. Is this possible, or will I need to populate an array based off ip octets to correspond to the local server names?

Edit:  Oh yeh, this is an AD network.

Edited by PDowning
Link to comment
Share on other sites

After I read your post several times I still don't know what you mean with "LOCAL server"!

Do you want to get the logon server name?

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Sorry for the confusion. We have an Active Directory network setup, where users login to the Domain Controller that is at out central office. Login also connects them to the local file server at their location. I want to pull that local server name, but can't find a @variable that will do that. Is there something in the AD UDF that I overlooked that could do that?

Link to comment
Share on other sites

I assume there is a login script which connects some network drives and you want that server names?

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

I assume there is a login script which connects some network drives and you want that server names?

Br,

UEZ

Basically yes. I can do this with a 2D array by ip address, and server name, but was trying to avoid having to fill out an array with 75 sites.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...