DataCubeControllerSetElementPrivileges Method |
Sets element privileges for the specified elements of a data cube.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (26.1.0.1000)
Syntax[HttpPostAttribute("Privileges/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<DataCubeData> SetElementPrivileges(
Guid id,
[FromBodyAttribute] IList<DataPrivilegeData> options,
Guid? sessionId = null
)<HttpPostAttribute("Privileges/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function SetElementPrivileges (
id As Guid,
<FromBodyAttribute> options As IList(Of DataPrivilegeData),
Optional sessionId As Guid? = Nothing
) As ActionResult(Of DataCubeData)public:
[HttpPostAttribute(L"Privileges/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<DataCubeData^>^ SetElementPrivileges(
Guid id,
[FromBodyAttribute] IList<DataPrivilegeData^>^ options,
Nullable<Guid> sessionId = nullptr
)[<HttpPostAttribute("Privileges/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member SetElementPrivileges :
id : Guid *
[<FromBodyAttribute>] options : IList<DataPrivilegeData> *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<DataCubeData>
Parameters
- id
- Type: SystemGuid
The ID of the data cube to set the privileges on. - options
- Type: System.Collections.GenericIListDataPrivilegeData
The set of DataPrivilegeData to set. - sessionId (Optional)
- Type: SystemNullableGuid
Current session ID.
Return Value
Type:
ActionResultDataCubeDataThe operation completed successfully. The payload contains a
DataCubeData object.
See Also