다음을 통해 공유


RoleAssignment Element (DeploymentManifest)

Applies to: SharePoint Foundation 2010

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>

Type

DeploymentRoleAssignment (based on SPRoleAssignment)

Attributes

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.

Child Elements

Assignment Element (DeploymentManifest)

Parent Elements

RoleAssignments Element (DeploymentManifest)

See Also

Reference

SPRoleAssignment

Concepts

DeploymentManifest Schema