Skip to content

ShareInfo

A snapshot of a local SMB share.

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

Fields

comment @ (Str | nil) [get]

Comment.

current_uses @ Int [get]

Current connection count.

kind @ ShareKind [get]

Resource kind.

max_uses @ (Int | nil) [get]

Maximum simultaneous connections, or nil when use is unlimited.

name @ Str [get]

Share name.

path @ fs.Path [get]

Shared local path.

sec_desc @ (security.windows.SecDesc | nil) [get]

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

special @ Bool [get]

Whether the native special-share flag is set.

temporary @ Bool [get]

Whether the native temporary-share flag is set.