GetAnyDCName

ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP
Url replacer, IIS url rewrite Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object
 IISTracer, real-time IIS monitor
 Huge ASP upload - upload files with progress.
          Method 
          Member of  UserManager.Server 

Description

Gets the name of any domain controller for a domain that is directly trusted by the server name.

Syntax

vGetAnyDCName = Server.GetAnyDCName ([DomainName as String])
 
Where Type Optional Default Description
 DomainName  String  yes    Specifies the name of domain (default is primary domain ) 

Returns

String

Remarks

GetAnyDCName calls NetGetAnyDCName NetAPI32 function.

See also

  Other links for GetAnyDCName

Properties of Server class

UserManager.Server

Properties of servers, enumerating users, logon/logoff to the user administrator account.

UserManager

Easy to use classes to create, delete and manage local and remote user accounts, groups, servers and domains in the Windows NT (2000/XP) environment. Simple work with user accounts and groups from VBA, VBS/JS, ASP and T-SQL.

© 1996 – 2006 Antonin Foller, Motobit Software, help{at}pstruh.cz, help v. 2.03.68