Share via


CreateNetGroup method of the MSFT_NfsServerTasks class

Creates a new netgroup in an Active Directory domain or LDAP server.

Syntax

uint32 CreateNetGroup(
  [in] string NetgroupName,
  [in] string LdapServer,
  [in] string LdapNamingContext,
  [in] string AddMember[]
);

Parameters

NetgroupName [in]

Type: string

The name of the netgroup.

LdapServer [in]

Type: string

The LDAP server name or Active Directory domain name.

LdapNamingContext [in]

Type: string

The LDAP naming context (DN).

AddMember [in]

Type: string[]

An array of strings containing names of members to be added to the netgroup.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\NFS
MOF
NfsCimProv.mof
DLL
NfsCimProv.dll

See also

MSFT_NfsServerTasks

MSFT_NfsNetgroup