Partager via


ResolveMappedIdentityByName method of the MSFT_NfsServerTasks class

Retrieves the MSFT_NfsMappedIdentity that corresponds to a Windows account name.

Syntax

uint32 ResolveMappedIdentityByName(
  [in]  string                 AccountName,
  [in]  uint32                 AccountType,
  [out] MSFT_NfsMappedIdentity MappedIdentity
);

Parameters

AccountName [in]

Type: string

The Windows account name for the user or group.

AccountType [in]

Type: uint32

The account type. One of the following:

User (0)

Group (1)

MappedIdentity [out]

Type: MSFT_NfsMappedIdentity

The MSFT_NfsMappedIdentity object that corresponds to the Windows account name.

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_NfsMappedIdentity

MSFT_NfsServerTasks