RevokeSharePermissionByName method of the MSFT_NfsServerTasks class

Removes the specified client by name from the list of share permissions configured on the share.

Syntax

uint32 RevokeSharePermissionByName(
  [in] string Name,
  [in] string NetworkName,
  [in] string ClientName,
  [in] string ClientType
);

Parameters

Name [in]

Type: string

The name (alias) for the share.

NetworkName [in]

Type: string

The failover cluster client access point (network name) through which the highly available NFS share is exported.

ClientName [in]

Type: string

The hostname or IP address of the client, or the name of the netgroup for which share permissions are being revoked. Share permissions can be revoked for individual client computers or netgroups.

ClientType [in]

Type: string

The type of client indicated by the ClientName parameter. Share permissions can be revoked for individual client computers or netgroups. One of the following values:

host

An individual computer or host.

netgroup

A netgroup.

clientgroup

A client group.

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_NfsSharePermission

MSFT_NfsServerTasks