Many ISecurity methods have a resource
parameter. A resource is a metadata object that represents the entity
on which authorization or another action is requested.
A resource is identified
by a URN in one of two forms:
OMSOBJ:MetadataType/ObjectId
REPOSID:_reposID
OMSOBJ indicates that the request
is to the SAS namespace of the SAS Metadata Model. The SAS namespace
contains metadata types that describe application elements.
MetadataType is one of the SAS namespace metadata
types. For a list of supported metadata types, see the SAS Metadata
Model documentation.
ObjectId is the requested object's 17–character metadata object identifier.
The first eight characters of the object identifier are a repository
identifier; the remaining eight characters are the unique object instance
identifier.
REPOSID indicates the
request is to the REPOS namespace of the SAS Metadata Model. The REPOS
namespaces contains metadata types that describe a repository. The
first eight characters of a repository ID are the SAS Repository Manager
identifier A0000001, which is the same for all repositories. Therefore,
you need specify only a repository's unique 8–character object
instance identifier in
_reposID.