RoleAssignmentX Element (DeploymentManifest)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Represents a security role assignment in cases where incremental changes to the base object are being deployed.
Definition
DECLARATION
<xs:element name="RoleAssignmentX" type="DeploymentRoleAssignmentX" />
USAGE
<SPObject>
<RoleAssignmentX
Operation="SecurityModificationType"
OperationCode="xs:string"
ScopeId="xs:string"
RoleDefWebId="xs:string"
RoleDefWebUrl="xs:string"
ObjectId="xs:string"
ObjectType="xs:string"
ObjectUrl="xs:string"
AnonymousPermMask="xs:string"
RoleName="xs:string"
RoleId="xs:string"
GroupTitle="xs:string"
UserLogin="xs:string"
/>
</SPObject>
Type
DeploymentRoleAssignmentX (based on SPRoleAssignment)
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Type | Description |
---|---|---|
Operation |
SecurityModificationType Simple Type (DeploymentManifest) |
Required. Enumeration type that specifies which security role modifications are allowed. |
OperationCode |
xs:string |
Required. |
ScopeId |
xs:string |
Required. Specifies whether the scope of the role is list level or Web level. |
RoleDefWebId |
xs:string |
Required. Identifier of the Web whose role definition applies to the role. |
RoleDefWebUrl |
xs:string |
Required. URL of the Web whose role definition applies to the role. |
ObjectId |
xs:string |
Required. Identifier of the role assignment object. |
ObjectType |
xs:string |
Required. Type of the role assignment object. |
ObjectUrl |
xs:string |
Required. URL to the role assignment object. |
AnonymousPermMask |
xs:string |
Optional. Permission mask for anonymous users. |
RoleName |
xs:string |
Optional. Name of the security role associated with the assignment. |
RoleId |
xs:string |
Optional. Identifier of the security role. |
GroupTitle |
xs:string |
Optional. Display name of the security group that is associated with the role. |
UserLogin |
xs:string |
Optional. Logon credential for users associated with the role. |
Child elements
None
Parent elements
SPObject Element (DeploymentManifest)
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for