METASEC_DELACT Function

Deletes ACT from the metadata server.

Syntax

rc = METASEC_DELACT(tc, act_uri);

Required Arguments

tc (in)
specifies a transaction context 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)
specifies a character variable or constant that contains the URI of the ACT that you are deleting; use the following form of URI: “omsobj:AccessControlTemplate/xxxxxxxx.yyyyyyyy”.

Return Values

0
Successful completion.
-1
Unable to connect to the metadata server.
-2
ACT was not deleted; see sysmsg() for information.

Details

When the ACT is deleted, any associations are also deleted.
This function calls the ISecAdmin method DestroyAccessControlTemplate(). For information about the method, see SAS Open Metadata Interface: Reference and Usage.
See Example: Working with ACTs for a usage example.