Share via


MaxUsers

[The MaxUsers property is no longer available for use as of Windows Server 2012.]

This property is not supported.

**Windows Server 2003: **

Describes the number of simultaneous users that can access the file share. The following table summarizes the attributes of the MaxUsers property.

Attribute Value
Data type DWORD
Access Read/write
Status Optional
Structure CLUSPROP_DWORD
Minimum 0
Maximum 0xFFFFFFFF
Default 0xFFFFFFFF

Examples

The property value portion of a property list entry for MaxUsers can be set with the following example code.

DWORD          MaxUsersData = 10;
CLUSPROP_DWORD MaxUsersValue;

MaxUsersValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
MaxUsersValue.cbLength  = sizeof(DWORD);
MaxUsersValue.dw        = MaxUsersData;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
End of server support
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

See also

File Share Private Properties

CLUSPROP_DWORD