Skip to main content
A newer release of this product is available.

Retrieve a local user, Active Directory user or group belonging to a local group and SVM

Contributors

GET /protocols/cifs/local-groups/{svm.uuid}/{local_cifs_group.sid}/members/{name}

Introduced In: 9.10

Retrieves local user, Active Directory user and Active Directory group which is member of the specified local group and SVM.

  • vserver cifs users-and-groups local-group show-members

Parameters

Name Type In Required Description

local_cifs_group.sid

string

path

True

Local group SID

name

string

path

True

Member name

svm.uuid

string

path

True

UUID of the SVM to which this object belongs.

fields

array[string]

query

False

Specify the fields to return.

Response

Status: 200, Ok
Name Type Description

name

string

Local user, Active Directory user, or Active Directory group which is a member of the specified local group.

records

array[records]

An array of local users, Active Directory users, and Active Directory groups specified to add or delete multiple members to or from a local group in a single API call. Not allowed when the name property is used.

Example response
{
  "name": "string",
  "records": [
    {
      "name": "string"
    }
  ]
}

Error

Status: Default, Error
Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

records

Name Type Description

name

string

Local user, Active Directory user, or Active Directory group which is a member of the specified local group.

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.