IDiskQuotaUser interface (dskquota.h)

Represents a single user quota entry in the volume quota information file. Through this interface, you can query and modify user-specific quota information on an NTFS file system volume. This interface is instantiated by using IEnumDiskQuotaUsers, IDiskQuotaControl::FindUserSid, IDiskQuotaControl::FindUserName, IDiskQuotaControl::AddUserSid, or IDiskQuotaControl::AddUserName.

Inheritance

The IDiskQuotaUser interface inherits from the IUnknown interface. IDiskQuotaUser also has these types of members:

Methods

The IDiskQuotaUser interface has these methods.

 
IDiskQuotaUser::GetAccountStatus

Retrieves the status of the user object's account.
IDiskQuotaUser::GetID

Retrieves a unique identifier (ID) number for the DiskQuotaUser object.
IDiskQuotaUser::GetName

Retrieves the name strings associated with a disk quota user.
IDiskQuotaUser::GetQuotaInformation

Retrieves the values for the user's warning threshold, hard quota limit, and quota used.
IDiskQuotaUser::GetQuotaLimit

Retrieves the user's quota limit value on the volume.
IDiskQuotaUser::GetQuotaLimitText

Retrieves the user's quota limit for the volume.
IDiskQuotaUser::GetQuotaThreshold

Retrieves the user's warning threshold value on the volume.
IDiskQuotaUser::GetQuotaThresholdText

Retrieves the user's warning threshold for the volume.
IDiskQuotaUser::GetQuotaUsed

Retrieves the user's quota used value on the volume.
IDiskQuotaUser::GetQuotaUsedText

Retrieves the user's quota used value for the volume.
IDiskQuotaUser::GetSid

Retrieves the user's security identifier (SID). (IDiskQuotaUser.GetSid)
IDiskQuotaUser::GetSidLength

Retrieves the length of the user's security identifier (SID), in bytes.
IDiskQuotaUser::Invalidate

Invalidates the quota information stored in the quota user object.
IDiskQuotaUser::SetQuotaLimit

Sets the user's quota limit value on the volume.
IDiskQuotaUser::SetQuotaThreshold

Sets the user's warning threshold value on the volume.

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

See also

Disk Management Interfaces

Disk Quotas