METASEC_APPLYACT Function
Applies an ACT to an object.
Syntax
rc = METASEC_APPLYACT(tc, uri, act_uri,flags);
Required Arguments
- tc (in)
-
specifies a transaction
context handle; can be an empty string " " to invoke with a temporary
context.
- uri (in)
-
specifies a character
variable or constant that contains the URI of the object to which
you are applying the ACT.
- act_uri (in)
-
specifies a character
variable or constant that contains the URI of the ACT that you are
applying to the object; use the following form of URI: “omsobj:AccessControlTemplate/xxxxxxxx.yyyyyyyy”.
- flags (in)
-
not currently used;
set to 0 (zero).
Return Values
- 0
-
Successful completion.
- -1
-
Unable to connect to
the metadata server.
- -99 or less
-
Other error; see log
or sysmsg() for information.
Details
This function calls
the ISecAdmin method ApplyACTToObj(). For information about the method,
see
SAS Open Metadata Interface: Reference and Usage.