Security Administration (ISecurityAdmin Interface) |
Lists the ACTs that are associated with a resource.
Category: General authorization administration methods
Syntax |
GetAccessControlTemplatesOnObj(tCtxt,resource,flags,ACT_list);
Parameters |
Details |
The GetAccessControlTemplatesOnObj method returns ACT_LIST when TCTXT or RESOURCE is specified, even if there are no ACTs (an empty list is returned).
When TCTXT is specified and previous calls to the ApplyACTToObj or RemoveACTFromObj method on this TCTXT modified the list of ACTs protecting the resource, then the modified list is returned. Until the EndTransactionContext method is executed on the TCTXT with SECAD_COMMIT_TC, the content of ACT_LIST might not reflect the actual ACTs currently protecting the resource.
When RESOURCE is specified in the GetAccessControlTemplatesOnObj method, then ACT_LIST returns the actual ACTs protecting the resource.
Exceptions Thrown |
The SAS Open Metadata Interface explicitly returns the following exceptions for the GetAccessControlTemplatesOnObj method:
SECAD_INVALID_TC_HANDLE
SECAD_INVALID_RESOURCE_SPEC
SECAD_INVALID_ACTION
SECAD_NOT_AUTHORIZED
Related Methods |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.