METASEC_REMACT Function

Removes an ACT from an object.

Syntax

rc = METASEC_REMACT(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 from which you want to remove the ACT.
act_uri (in)
specifies a character variable or constant that contains the URI of the ACT that you are removing; 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 RemoveACTFromObj(). For information about the method, see SAS Open Metadata Interface: Reference and Usage.
See Example: Working with ACTs for a usage example.