Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the status of the user object's account. User information is identified in the quota system by user security identifier (SID). This SID must resolve to a user account for the user's account name information to be retrieved.
Syntax
HRESULT GetAccountStatus(
[out] LPDWORD pdwStatus
);
Parameters
[out] pdwStatus
The user's account status. The status value can be one of the following.
| Value | Meaning |
|---|---|
|
The SID was resolved to a user account. Names are available through IDiskQuotaUser::GetName. |
|
The user account is unavailable at this time. The network domain controller may not be available. Name information is not available. |
|
The user account was deleted from the domain. Name information is not available. |
|
The user account is invalid. Name information is not available. |
|
The user account is unknown. Name information is not available. |
|
The SID has not been resolved to a user account. |
Return value
This method returns one of the following values.
| Return code | Description |
|---|---|
|
Success. |
|
The pdwStatus parameter is NULL. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | dskquota.h |
| DLL | Dskquota.dll |