Share via


AddClusterNameAccount method of the MSCluster_Cluster class

Creates a cluster name account in Active Directory Domain Services.

Syntax

void AddClusterNameAccount(
  [in] string Name,
  [in] string DomainName,
  [in] string UserName,
  [in] string Password,
  [in] uint32 AdministrativeAccessPoint
);

Parameters

Name [in]

Specifies the name of the cluster name account that this method creates.

DomainName [in]

Specifies the Active Directory Domain Services domain in which this method creates a cluster name account. When NULL, the caller information is used. Should be used with UserName and Password.

UserName [in]

Specified the account name to use when connecting to the Active Directory Domain Service. When NULL, the caller information is used. Should be used with DomainName and Password.

Password [in]

Specifies the user account password to use when connecting to the Active Directory Domain Service. When NULL, the caller informatin is used. Should be used with DomainName and UserName.

AdministrativeAccessPoint [in]

The type of the cluster management point.

ActiveDirectoryAndDns (1)

Dns (2)

Return value

This method does not return a value.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\MSCluster
MOF
ClusWMI.mof
DLL
ClusWMI.dll

See also

MSCluster_Cluster