ONTAP 9.12.1 commands

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

    Display local users

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

    Description

    The vserver cifs users-and-groups local-user show command displays local users and their attributes.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-vserver <vserver name>] - Vserver

    If this parameter is specified, the command displays information only about local users that match the specified Vserver name.

    [-user-name <CIFS name>] - User Name

    If this parameter is specified, the command displays information only about local users that match the specified user name.

    [-full-name <TextNoCase>] - Full Name

    If this parameter is specified, the command displays information only about local users that match the specified full name.

    [-description <TextNoCase>] - Description

    If this parameter is specified, the command displays information only about local users that match the specified description.

    [-is-account-disabled {true|false}] - Is Account Disabled

    If this parameter is specified, the command displays information only about local users that match the status specified.

    Examples

    The following example displays information about all local users.

    cluster1::> vserver cifs users-and-groups local-user show
    Vserver      User Name                   Full Name            Description
    ------------ --------------------------- -------------------- -------------
    vs1          CIFS_SERVER\Administrator   James Raynor         Built-in administrator account
    vs1          CIFS_SERVER\u1              Sarah Kerrigan
    2 entries were displayed.
    Top of Page