setAccessRevertable

Function

A revertable task for setting eligible Survey items access

A revertable task for setting eligible Survey items access

  • setAccessRevertable(model: IModel, access: "private" | "org" | "public", requestOptions: IRequestOptions) : Promise<IRevertableTaskResult>

Parameters

Parameter Type Default Notes
model Required IModel

The IModel of the survey items to set access

access Required "private" | "org" | "public"

The access to set

requestOptions Required IRequestOptions

The request options

Available requestOptions

Property Type Notes

Returns

Property Type Notes

Function defined in surveys/src/sharing/set-access-revertable.ts:20