Поделиться через


RoleAssignment Element (DeploymentManifest)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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