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

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

Description

Returns the name of the Primary Domain Controller (PDC) for the specified domain

Syntax

DCName = Server.GetDCName ([DomainName as String])
 

Where Type Optional Default Description
 DomainName  String  yes    Specifies the name of domain (default is primary domain ) 

Returns

String

Remarks

GetDCName calls NetGetDCName NetAPI32 function.

See also

Server.GetAnyDCName

Other links for GetDCName

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