Removing SMB share user from lists using the CLI

Content Software for File CLI Reference

Version
4.2.x
Audience
anonymous
Part Number
MK-HCSF001-03

Command

weka smb share lists remove

Use the following command line to remove users from a share user-list:

weka smb share lists remove <share-id> <user-list-type> <--users users>...

Parameters

Name Type Value Limitations Mandatory Default
share-id Number The ID of the share to be updated Must be a valid share ID Yes  
user-list-type String The type of permissions list for users read_only - list of users that will not be given write access to the share, regardless of the read-only setting. read_write - list of users that will be given write access to the share, regardless of the read-only setting. valid - list of users that are allowed to log-in to this share SMB service (empty list - all users are allowed) invalid - list of users that are not allowed to login to this share SMB service Yes  
users A commaseparated list of Strings A list of users to remove from the user-list-type list. Can use the @ notation to allow groups of users, for example, root, Jack, @domain\admins Up to 8 users/groups for all lists combined per share Yes