Previous Page | Next Page

DATA Step Functions for Metadata Security Administration

METASEC_GETACTA Function

Returns an ACT attribute.


Syntax

rc = METASEC_GETACTA(tc,act_uri,attr,attr_value);


Arguments

Argument Direction Description
tc
in TC handle; can be an empty string " " to invoke with a temporary context; if tc is returned from the METASEC_BEGTRAN function, then tc references an existing ACT
act_uri
in Character variable or constant that contains the URI of the ACT that is requested; can be blank if the ACT was specified when creating the TC; use the following form of URI: "omsobj:AccessControlTemplate/xxxxxxxx.yyyyyyyy"
attr
in Character variable that specifies the ACT attribute whose value you are requesting; see Details.
attr_value
out Character variable that contains the value of the ACT attribute; ee Details.


Return Values

Value Description
0 Successful completion
-1 Unable to connect to the metadata server
-99 or less Attribute is not set; see log or sysmsg() for information


Details

This function calls the ISecAdmin method GetAccessControlTemplateAttribs(). For information about this method, see SAS Open Metadata Interface: Reference.

Lowercase or mixed-case ACT attributes (Name, Desc, Use) are automatically uppercased (NAME, DESC, USE). The following table provides more information about the attr and attr_value arguments.

Attribute Attribute Value Maximum Length of Attribute Value Notes
NAME
Character string 60 Optional
DESC
Character string 200 Optional
USE
REPOS or empty string 5 Optional; the REPOS value indicates that the specified ACT is the default repository ACT


Example


Related Functions

Previous Page | Next Page | Top of Page