Service: Rights

Reading rights

Functions

ResultName / ParamsComment
GetResultrights.Get ≥wg.core 0.0.11Returns a filtered list of RightsPolicy Objects.
filterstring(Optional) Filter expression which determines the result set.
selectstring[](Optional) List of properties that should be contained in the result objects.
limitint(Optional) Maximum amount of Objects that should be returned. (Max : 100000)
RightsRule[]rights.GetRules ≥wg.core 0.0.11Get active rules for a specific client or context.
sessionstring(Optional) Session ID of a connection that defines the context indirectly.
contextRightsTarget[](Optional) Context as list of rights targets.

Notifications

Name / ParamsComment
rights.CreatedNotifies about new RightsPolicy Objects.
objectsRightsPolicy[]Newly created RightsPolicy Objects.
rights.DeletedNotifies about deleted RightsPolicy Objects.
idsguid[]IDs of the deleted RightsPolicy Objects.

Objects

RightsPolicy

Property Type Description
Id guid Unique ID of the Data Object.
Target RightsTarget Target definition.
Rule RightsRule Rule definition.
Weight int Optional weight (0..9).

RightsRule

Property Type Description
Item string Rule applies to this item type. The available item types depend on the application.
Filter string Rule only applies to item instances that match this filter expression.
Aspects string Rule only applies to parts of the item, e.g., some properties. The expression depends on the item type.
Actions string[] Rule applies to these actions. The available actions depend on the item type.
Deny bool True for ‘forbid’, otherwise ‘allow’.

RightsTarget

Property Type Description
Type string Target type. See RightsTargetType.
Id string Target ID, code or ID. See RightsTargetType

RightsTargetType

Name Value Description
User user User of the application. (code)
Station station Station of a networked application. (code)
Extension extension Configured AOP Extension. (code)
Profile profile Profile that defines a role, for example. (ID)
Last modified September 25, 2026