When creating objects in SharePoint, consider the following:
-
RoleAssignment object: To create this object, you must populate the value of the Member attribute for the object. Since Member is a reference attribute, you can only populate its value by configuring a value generation rule. For more information about value generation rules, see Using value generation rules.
-
Site object: To create this object, you must populate the values of attributes URL and Owner for the object.