DATA Step Functions for Metadata Security Administration |
Returns the nth identity for an object. Identities can come directly from the object, from the inheritance parents, from the default ACT, and from any ACTs that are directly associated with the object.
Syntax |
rc = METASEC_GETNID(tc,uri,n,type,name,flags<,display,origin>);
Arguments |
Argument | Direction | Description |
---|---|---|
tc |
in | Transaction context handle; can be an empty string " " to invoke with a temporary context |
uri |
in | Character variable or constant that contains the URI of the object to be manipulated by the transaction; can be an empty string " " if tc is specified |
n |
in | One-based numeric index value that indicates which row to return from the array; for more information, see Array Parameters |
type |
out | Character variable that contains the identity type; the variable should be large enough to store the two available values, IdentityGroup or Person, probably at least $13 |
name |
out | Character variable that contains the identity name, which must be unique for every identity of that type on the SAS Metadata Server |
flags |
in |
Optional integer bit field; you can use one of the following macro variables
from %MDSECCON()
For more information see Using the %MDSECCON() Macro. |
display |
out | Optional; character variable that contains the value of the DisplayName attribute if the identity has a DisplayName attribute |
origin |
out |
Optional; indicates where the identity originates for the object in
security:
|
Return Values |
Details |
This function calls the ISecAdmin method GetIdentitiesOnObject(). For information about the method, see SAS Open Metadata Interface: Reference.
Example |
Related Functions |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.