Declare a new domain

Namespace: Novalys.VisualGuard.Security.Membership
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public VGDomain CreateDomain(
	string domainName,
	string domainUserName,
	string domainPassword
)
Visual Basic
Public Function CreateDomain ( 
	domainName As String,
	domainUserName As String,
	domainPassword As String
) As VGDomain

Parameters

domainName
Type: System..::..String
Name of Active Directory domain
domainUserName
Type: System..::..String
User to connect to this domain
domainPassword
Type: System..::..String
Password of the user

Return Value

Type: VGDomain
Return VGDomain if the domain is created

See Also