Skip to main content

Load CIFS local users, groups and group membership files from a URL

Contributors

POST /protocols/cifs/users-and-groups/bulk-import/{svm.uuid}

Introduced In: 9.11

Loads CIFS local users,groups and group memberships file from the specified URL.

Important notes

Existing CIFS local users, groups, and group memberships will be replaced with the contents of the file.

Required properties

  • import_uri.path

  • decryption_password

Optional properties

  • import_uri.username

  • import_uri.password

  • vserver cifs users-and-groups import load-from-uri

Parameters

Name Type In Required Description

return_timeout

integer

query

False

The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.

  • Default value: 1

  • Max value: 120

  • Min value: 0

svm.uuid

string

path

True

UUID of the SVM to which this object belongs.

Request Body

Name Type Description

_links

_links

decryption_password

string

Password to decrypt the compressed file.

detailed_status

detailed_status

elements_ignored

integer

Number of elements ignored.

elements_imported

integer

Number of elements successfully imported.

import_uri

import_uri

state

string

Operation status.

status_uri

status_uri