IDiskQuotaUser::GetName

[This is preliminary documentation and subject to change.]

Retrieves the name strings associated with a disk quota user.

HRESULT GetName(
  LPWSTR pszDomain, 
  DWORD cchDomain, 
  LPWSTR pszName, 
  DWORD cchName, 
  LPWSTR pszFullName, 
  DWORD cchFullName
);
 

Parameters

pszDomain
Pointer to the buffer to receive the name of the user's network domain. This value can be NULL.
cchDomain
Size of the domain buffer, in characters. Ignored if pszDomain is NULL.
pszName
Pointer to the buffer to receive the name of the user's account in the network domain. This value can be NULL.
cchName
Size of the name buffer, in characters. Ignored if pszName is NULL.
pszFullName
Pointer to the buffer to receive the full name for the quota user. This value can be NULL.
cchFullName
Size of the full-name buffer, in characters. Ignored if pszFullName is NULL.

Return Values

This method returns one of the following values.

Value Meaning
S_OK Success.
DQC_E_LOCK_FAILED Failure to obtain an exclusive lock.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in dskquota.h.

See Also

File Systems Overview, File System Interfaces, IDiskQuotaUser