MaxUsers Property for File Shares

The MaxUsers property describes the number of simultaneous users that can access the file share.

Quick Info

Type: DWORD
Access: Read/write
Status: Optional
Function: ClusterResourceControl
Structure: CLUSPROP_DWORD
Control Code: CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES

Remarks

When ClusterResourceControl processes the CLUSCTL_RESOURCE_GET_PRIVATE_PROPERTIES control code, it returns a property list that includes the MaxUsers property as one of the entries. The property value portion of the entry contains a CLUSPROP_DWORD structure that is set as follows:

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

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.