Share via


MSFT_NfsSharePermission class

Represents the access permissions that apply to a share that is exported by the Windows NFS server.

The following syntax is simplified from Managed Object Format (MOF) code.

Syntax

[ClassVersion("1.0"), dynamic, provider("nfscimprov"), AMENDMENT]
class MSFT_NfsSharePermission
{
  string  ClientName;
  string  Path;
  string  ClientType;
  string  Name;
  string  Permission;
  boolean AllowRootAccess;
  string  LanguageEncoding;
};

Members

The MSFT_NfsSharePermission class has these types of members:

Properties

The MSFT_NfsSharePermission class has these properties.

AllowRootAccess

Data type: boolean

Access type: Read/write

If TRUE, the NFS share is configured to allow access by the UNIX root user.

ClientName

Data type: string

Access type: Read-only

Qualifiers: key

The hostname or IP address of the client, the name of the client group, or the name of the netgroup for which this share permission has been configured. Share permissions can be configured for individual client computers, client groups, or netgroups.

ClientType

Data type: string

Access type: Read-only

Qualifiers: key

The type of client indicated by the ClientName property. One of the following values:

host

An individual computer or host.

netgroup

A netgroup.

clientgroup

A client group.

builtin

This value should be used when ClientName is "All Machines".

LanguageEncoding

Data type: string

Access type: Read/write

The type of language encoding that is configured for the NFS share. One of the following:

"euc-jp"

EUC-JP (Japanese)

"euc-tw"

EUC-TW (Traditional Chinese)

"euc-kr"

EUC-KR (Korean)

"shift-JIS"

Shift JIS (Japanese)

"big5"

Big-5 (Traditional Chinese)

"ksc5601"

KS C 5601 (Korean)

"gb2312-80"

GB2312 (1980) (Simplified Chinese)

"ansi"

ANSI

Name

Data type: string

Access type: Read-only

The name (alias) for the share exported by the Windows NFS server. This share name is used when mounting the share from client computers.

Path

Data type: string

Access type: Read-only

Qualifiers: key

The local path to the exported share on the Windows NFS server. This property is used to associate the share permission object with its corresponding MSFT_NfsShare object.

Permission

Data type: string

Access type: Read/write

The type of access to that is granted for the NFS share. One of the following values:

"no-access"

Deny access to the share.

"readwrite"

Grant read/write access to the share.

"readonly"

Grant read-only access to the share.

Requirements

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