Metadata Privilege Component APIs
The Component service provides operations to retrieve privilege information of a component element. A component element is said to contain privilege information if any one of package elements in it contains privilege information.
Operations
get
List Privilege Component
Returns the identifiers for the component elements that have privilege information.
Returns the identifiers for the component elements that have privilege information.
get
Get Privilege Component
Retrieves privilege information about the component element corresponding to componentId. The ComponentData contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
Retrieves privilege information about the component element corresponding to componentId. The ComponentData contains the privilege information about the component element and its fingerprint. It contains information about all the package elements that belong to this component element.
get
Fingerprint Privilege Component
Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to componentId. The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of Component.get.
Retrieves the fingerprint computed from the privilege metadata of the component element corresponding to componentId. The fingerprint provides clients an efficient way to check if the metadata for a particular component has been modified on the server. The client can do this by comparing the result of this operation with the fingerprint returned in the result of Component.get.