Open this page in the API Guide

FileController.SetPrivileges Method

Updates a file's privileges.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpPutAttribute("Privileges/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult SetPrivileges(
	Guid id,
	[FromBodyAttribute] SetPrivilegesOptions options,
	Guid? sessionId = null
)

Parameters

id
Type: System.Guid
The ID of the entry to set the privileges on.
options
Type: Dundas.BI.WebApi.Models.SetPrivilegesOptions
An object that carries all needed information about the new privileges.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult
See Also