updateResourcePrivileges -- Apply privileges to views or other TDV objects

updateResourcePrivileges -- Apply privileges to views or other TDV objects

book

Article ID: KB0082821

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All Versions

Description

Sample Input XML - 
 
    <resource:updateResourcePrivileges>
      <resource:updateRecursively>false</resource:updateRecursively>
      <resource:privilegeEntries>
        <resource:privilegeEntry>
          <resource:path>/shared/case14774</resource:path>
          <resource:type>DATA_SOURCE</resource:type>
          <resource:privileges>
            <resource:privilege>
              <resource:domain>composite</resource:domain>
              <resource:name>dummy_group</resource:name>
              <resource:nameType>GROUP</resource:nameType>
              <resource:privs>NONE READ WRITE EXECUTE</resource:privs>
              <resource:combinedPrivs>NONE</resource:combinedPrivs>
              <resource:inheritedPrivs>NONE</resource:inheritedPrivs>
            </resource:privilege>
          </resource:privileges>
        </resource:privilegeEntry>
      </resource:privilegeEntries>
      <resource:mode>OVERWRITE_APPEND</resource:mode>
    </resource:updateResourcePrivileges>

 

Issue/Introduction

There is a way to pro-grammatically or in a script apply privileges to views or other TDV objects. You can use below API to update privileges for TDV resources like views, procedures as well as other objects.