RoleAssignment Element (DeploymentManifest)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Type
Attributes
Child Elements
Parent Elements

Represents an instance of a deployment role assignment (DeploymentRoleAssignment) object.


DECLARATION
<xs:element name="RoleAssignment" type="DeploymentRoleAssignment" minOccurs="0" maxOccurs="unbounded" />

USAGE
<RoleAssignments>
        <RoleAssignment
                        <Assignment />
                ScopeId="xs:string"
                RoleDefWebId="xs:string"
                RoleDefWebUrl="xs:string"
                ObjectId="xs:string"
                ObjectType="xs:string"
                ObjectUrl="xs:string"
                AnonymousPermMask="xs:string"
        />
</RoleAssignments>

DeploymentRoleAssignment (based on SPRoleAssignment)

Attribute

Type

Description

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 site whose role definition applies to the role.

RoleDefWebUrl

xs:string

Required. URL of the Web site 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.

Show: