Compartir a través de


EnumerateNetGroupFromLdap method of the MSFT_NfsServerTasks class

Enumerates all netgroup entries from Active Directory Domain Services (AD DS) or Active Directory Lightweight Directory Services (AD LDS).

Syntax

uint32 EnumerateNetGroupFromLdap(
  [in]  string           NetgroupName,
  [in]  string           LdapServer,
  [in]  string           LdapNamingContext,
  [out] MSFT_NfsNetgroup NetGroups[]
);

Parameters

NetgroupName [in]

Type: string

The name of the netgroup to enumerate.

LdapServer [in]

Type: string

The LDAP server name or Active Directory domain name to be used when performing LDAP queries to retrieve netgroup information.

LdapNamingContext [in]

Type: string

The LDAP naming context (DN) to be used when performing LDAP queries to retrieve netgroup information.

NetGroups [out]

Type: MSFT_NfsNetgroup[]

An array of MSFT_NfsNetgroup objects, one for each 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_NfsNetgroup

MSFT_NfsServerTasks