The DelegatedRole Entity.
A DelegatedRole is created for the express purpose of granting AccessTypes and Privileges
to a DelegatedPrincipal for a particular delegated Scope. As such, it is a "behind-the-scenes"
Entity created during the process of setting up a DelegatedPrincipal.
The following specifies which attributes are loaded when each Projection type is used
to load a DelegatedRole snapshot:
Projection.EMPTY loads the following:
Projection.BASIC loads the Projection.EMPTY fields and the following:
- SnapshotId
- Name
- Parent (The owning Principal)
- ModifiedBy
- ModifiedOn
- Deleted
- Description
- DelegatedScope
- Privileges
Projection.META loads Projection.Empty and Projection.BASIC fields and the following:
Projection.FULL does not load any additional fields.
The DelegatedRole's LocalACL (LACL) is managed using an AccessControlFieldsUpdater.
The DelegatedRole snapshot and the data it contains are immutable.
Below are examples in XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.