MOTOBIT.COM - ASP upload, IIS utility Type Property, read only of Server class

Property, read only | Member of  UserManager.Server | Changes | Purchase | Download


Type of the server.


vType = Server.Type


ServerTypes - The list of Server types.


Some actions must be done only on primary DC.

Set Server = CreateObject("UserManager.Server")
Server.Select "DOMAIN_SERVER"
If Server.Type & stDOMAIN_CTRL > 0 Then
  Set User = Server.Users.Add("Coll", "Password")
End If

Other links for Type

Methods of Server class

GetAnyDCName, GetDCName, ChangePassword, LogonUser, RevertToSelf, Select

Properties of Server class

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


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


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: