Partager via


EnumerateNetGroupFromNIS method of the MSFT_NfsServerTasks class

Enumerates all netgroup entries from NIS.

Syntax

uint32 EnumerateNetGroupFromNIS(
  [in]  string           NetgroupName,
  [in]  string           NISServer,
  [in]  string           NISDomain,
  [out] MSFT_NfsNetgroup NetGroups[]
);

Parameters

NetgroupName [in]

Type: string

The name of the netgroup.

NISServer [in]

Type: string

The NIS server name to query for the netgroups.

NISDomain [in]

Type: string

The NIS domain name of the NIS server.

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_NfsServerTasks

MSFT_NfsNetgroup