Partager via


MSNFS_UserNameMapping class

[The NFS Legacy WMI Classes are no longer available as of Windows 8 and Windows Server 2012. Instead, use the NFS WMI Classes.]

Configures user account mapping for both the 'Server for NFS' and 'Client for NFS' services. This class can be used to configure Active Directory, a User Name Mapping (UNM) server, or an LDAP RFC 2307 based store as a mapping source to be used by the Server for NFS or Client for NFS services.

This class is superseded by the MSFT_NfsMappingStore class.

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

Syntax

[Dynamic, Provider("MSNFS_PROVIDER"), Singleton, AMENDMENT]
class MSNFS_UserNameMapping
{
  boolean ADLookupEnabled;
  string  ADDomain;
  boolean UNMLookupEnabled;
  string  UNMServers[];
};

Members

The MSNFS_UserNameMapping class has these types of members:

Properties

The MSNFS_UserNameMapping class has these properties.

ADDomain

Data type: string

Access type: Read/write

Indicates the domain name of an Active Directory or an LDAP RFC 2307 based store domain name that NFS services will use when retrieving user account mapping information.

ADLookupEnabled

Data type: boolean

Access type: Read/write

This property is set to TRUE if NFS services must use Active Directory or an LDAP RFC 2307 based store as the source for user name mapping information. NFS services will use the domain name specified by the ADDomain property when retrieving user account mapping information.

UNMLookupEnabled

Data type: boolean

Access type: Read/write

This property is set to TRUE if NFS services must use a UNM server as the source for user account mapping information.

UNMServers

Data type: string array

Access type: Read/write

Indicates the names of the UNM servers that NFS services must use when retrieving user account mapping information.

Requirements

Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
End of client support
Windows 7
End of server support
Windows Server 2008 R2
Namespace
Root\MSNFS
MOF
Nfswmi.mof
DLL
NfsCimProv.dll

See also

MSFT_NfsMappingStore