Changes

HowTo:Configure Users and User Rights

490 bytes added, 13:54, 16 January 2020
# Save the new instance.
[[Category:How-To|Configure Users]][[Category:Login management|Configure Users]]
=== User groups ===
</source>
If you want to control the rights not per instance individually, but for all instances of a meta class at once, the following adaptions are required:* The ''TARGETTYPERIGHT'' of the rights relation must be MetaMetaClass, because this is the meta class (i.e., the type) of meta classes (which we want to relate to user groups in this case).* In the code snippet, instead of asking for objects and relation data for ''this'', we have to use ''this.MetaClass'':** UBIKClassList<RelationalObject> userGroups = this.'''MetaClass'''.RelatesFrom(rightsRelation);** RelationData rd = userGroup.GetRelationDataObject(rightsRelation, this.'''MetaClass''');
<!-- DO NOT REMOVE THIS -->{{Template:HowTo/End}}<!-- DO NOT REMOVE THIS -->
[[Category:How-To|Configure Users]][[Category:Login management|Configure Users]]
==See also==
1,606
edits