Share via


MSFT_SMFileShareAccessControlEntry class

Represents an access control setting for a file share. This security setting indicates whether the specified account has access to the file share.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Windows Server 2012 R2 and Windows Server 2012: This class does not inherit from MSFT_SMStorageObject which is new for Windows Server 2016.

Syntax

[dynamic, provider("WMIStorage")]
class MSFT_SMFileShareAccessControlEntry : MSFT_SMStorageObject
{
  String ObjectId;
  String Identifier;
  string AccountName;
  uint16 AccessControlType;
  uint16 AccessRight;
};

Members

The MSFT_SMFileShareAccessControlEntry class has these types of members:

Properties

The MSFT_SMFileShareAccessControlEntry class has these properties.

AccessControlType

Data type: uint16

Access type: Read-only

An indicator of the type of the access control setting.

The possible values are.

Allow (0)

Deny (1)

AccessRight

Data type: uint16

Access type: Read-only

Indicates the extended permission granted to the account.

The possible values are.

TBD (0)

TBD (1)

TBD (2)

TBD (3)

AccountName

Data type: string

Access type: Read-only

The name of the account that is assigned to the setting.

Identifier

Data type: String

Access type: Read-only

Qualifiers: Required

The ID of the logical instance of the object. This ID must be unique within the scope of the storage system.

This property is inherited from MSFT_SMStorageObject.

Windows Server 2012 R2 and Windows Server 2012: Not supported.

ObjectId

Data type: String

Access type: Read-only

Qualifiers: Key, Required

The ID of this class instance. This ID must be unique within the scope of the Windows Storage Management server that hosts the provider object.

This property is inherited from MSFT_SMStorageObject.

Windows Server 2012 R2 and Windows Server 2012: This property is present, but is not inherited from MSFT_SMStorageObject.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

MSFT_SMStorageObject

Windows Storage Management WMI Provider