Display information about group memberships for local users
-
PDF of this doc site
-
Cluster administration
-
Volume administration
-
Logical storage management with the CLI
-
-
NAS storage management
-
Configure NFS with the CLI
-
Manage NFS with the CLI
-
Manage SMB with the CLI
-
Manage file access using SMB
-
-
-
Security and data encryption
-
Data protection and disaster recovery
-

Collection of separate PDF docs
Creating your file...
You can display information about which local groups that a local user belongs to. You can use this information to determine what access the user should have to files and folders. This information can be useful in determining what access rights the user should have to files and folders or when troubleshooting file access issues.
You can customize the command to display only the information that you want to see.
-
Perform one of the following actions:
If you want to… Enter the command… Display local user membership information for a specified local user
vserver cifs users-and-groups local-user show-membership -user-name user_name
Display local user membership information for the local group of which this local user is a member
vserver cifs users-and-groups local-user show-membership -membership group_name
Display user membership information for local users that are associated with a specified storage virtual machine (SVM)
vserver cifs users-and-groups local-user show-membership -vserver vserver_name
Display detailed information for all local users on a specified SVM
vserver cifs users-and-groups local-user show-membership -instance ‑vserver vserver_name
The following example displays the membership information for all local users on SVM vs1; user “CIFS_SERVER\Administrator” is a member of the “BUILTIN\Administrators” group, and “CIFS_SERVER\sue” is a member of “CIFS_SERVER\g1” group:
cluster1::> vserver cifs users-and-groups local-user show-membership -vserver vs1 Vserver User Name Membership ---------- ---------------------------- ------------------------ vs1 CIFS_SERVER\Administrator BUILTIN\Administrators CIFS_SERVER\sue CIFS_SERVER\g1