SetAccessControlTemplateAttribs

Short Description

Changes the attributes of an ACT.

Category

ACT administration methods

Syntax

SetAccessControlTemplateAttribs(tCtxt,ACTresource,ACT_attributes);

Parameters

Method Parameters
Parameter
Type
Direction
Description
tCtxt
string
in
Optional handle representing a server-side transaction context.
ACTresource
string
in
Passed resource identifier for an ACT object. If TCTXT is used, do not specify a value in ACTRESOURCE.
ACT_attributes
string array
in
Two-dimensional string array that defines ACT attributes in two columns. Column 1 specifies the attribute name. Column 2 specifies the attribute value.

Details

The SetAccessControlTemplateAttribs method can be used to rename an ACT, modify its description, and add or remove the ACT as the current default repository ACT. These changes are made by specifying new values for the Name, Desc, and Use attributes.
The specified values replace the current values for the ACT identified by TCTXT or in ACTRESOURCE. For information about the attributes, see CreateAccessControlTemplate.

Exceptions Thrown

The SAS Open Metadata Interface explicitly returns the following exceptions for the SetAccessControlTemplateAttribs method:
  • SECAD_INVALID_TC_HANDLE
  • SECAD_INVALID_RESOURCE_SPEC
  • SECAD_OBJECT_NOT_ACT
  • SECAD_ACT_ALREADY_EXISTS
  • SECAD_ACT_DOES_NOT_EXIST
  • SECAD_NOT_AUTHORIZED