Changes
# Save the new instance.
=== 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 -->
==See also==