Applies data security to hierarchy members

{ addMembersSecurityToModel }

Sets member-level security on a specific attribute hierarchy in a specific data model for the given role.

Method

/API2/dataSources/addMembersSecurityToModel
  • API Section: /API2/dataSources
  • API Version: 2.0
  • From Release: 2020.0
  • Can be used by Enterprise Admin users only
  • REST API only via POST actions.
  • Input Parameters

    Name

    membersSecurityObject

    Object Type

    Description

    The details of the security settings for the hierarchy's member elements.

    Output Response

    Successful Result Code

    200

    Response Type

    Description of Response Type

    Generic API response object with success or failure flag and related messages.

    Notes

    Security settings can only be applied either by specific member name (as a list) or via a PQL logical 'script' that generates a list of member elements. The function should be supplied with either member listing or script. NOT BOTH.

    Examples