MOTOBIT.COM - ASP upload, IIS utility GetAnyDCName Method of Server class

Method | Member of  UserManager.Server | Changes | Purchase | Download

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

Server.GetDCName

Other links for GetAnyDCName

Methods of Server class

GetAnyDCName, GetDCName, ChangePassword, LogonUser, RevertToSelf, Select

Properties of Server class

Comment, ComputerName, Domain, Groups, LocalGroups, LoggedOnUser, Name, Servers, Type, Users

UserManager.Server

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

UserManager

ActiveX UserManager is easy to use COM component with classes to create, delete and manage local and remote user accounts, groups, servers and domains in the Windows NT (2000/XP) environment. You can simple work with user accounts and groups from VBA, VBS/JS, ASP and T-SQL programming environment.

© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz