Skip to content

ShareInfo

A snapshot of a local SMB share.

Returned by Share.info, Share.update and shares.

Fields

comment @ (Str | nil)

Comment.

current_uses @ Int

Current connection count.

kind @ ShareKind

Resource kind.

max_uses @ (Int | nil)

Maximum simultaneous connections, or nil when use is unlimited.

name @ Str

Share name.

path @ fs.Path

Shared local path.

sec_desc @ (security.windows.SecDesc | nil)

Share security descriptor, or nil when the share is left to the server service's default security.

special @ Bool

Whether the native special-share flag is set.

temporary @ Bool

Whether the native temporary-share flag is set.