TestimoX

API Reference

Class

SmbSharePermissionsQuery

Namespace ComputerX.Smb
Assembly ComputerX
Modifiers static
Attributes
SupportedOSPlatform("windows")

Reads SMB share permissions (DACL) via Win32_LogicalShareSecuritySetting.

Inheritance

  • Object
  • SmbSharePermissionsQuery

Methods

public static List<SmbSharePermissionEntry> Get(String shareName, String computerName = null) #
Returns: List<SmbSharePermissionEntry>

Gets the share permissions for a given share.

Parameters

shareName System.String requiredposition: 0
Share name.
computerName System.String = null optionalposition: 1
Target computer; null uses local.