ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver cifs users-and-groups local-user delete

    Delete a local user

    Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

    Description

    The vserver cifs users-and-groups local-user delete command deletes a local user. Upon deletion, all membership entries for this local user are deleted.

    Parameters

    -vserver <vserver name> - Vserver

    This specifies the name of the Vserver.

    -user-name <CIFS name> - User Name

    This specifies the user name.

    Examples

    The following example deletes the local user "CIFS_SERVER\u1" associated with Vserver "vs1".

    cluster1::> vserver cifs users-and-groups local-user show-membership
      (vserver cifs users-and-groups local-user show-membership)
    Vserver        User Name                       Membership
    -------------- ------------------------------- ------------------------
    vs1            CIFS_SERVER\Administrator       BUILTIN\Administrators
                   CIFS_SERVER\u1                  CIFS_SERVER\g1
    2 entries were displayed.
    
    cluster1::> vserver cifs users-and-groups local-user delete -vserver vs1 -user-name CIFS_SERVER\u1
    
    cluster1::> vserver cifs users-and-groups local-user show-membership
    Vserver        User Name                       Membership
    -------------- ------------------------------- ------------------------
    vs1            CIFS_SERVER\Administrator       BUILTIN\Administrators
    Top of Page