Previous Page | Next Page

DATA Step Functions for Metadata Security Administration

METASEC_DELACT Function

Deletes ACT from the metadata server.


Syntax

rc = METASEC_DELACT(tc,act_uri);


Arguments

Argument Direction Description
tc
in 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 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

Value Description
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.


Example


Related Functions

Previous Page | Next Page | Top of Page