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

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

Description

Type of the server.

Syntax

vType = Server.Type

Returns

ServerTypes - The list of Server types.

Examples

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

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