共用方式為


Assignment 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 a Windows SharePoint Services 3.0 deployment assignment object instance (DeploymentAssignment).

DELCARATION SYNTAX
<xs:element name="Assignment" 
        type="DeploymentAssignment" 
        minOccurs="0" maxOccurs="unbounded" 
/>

USAGE SYNTAX
<RoleAssignment>
        <Assignment
                RoleId="xs:string"
                PrincipalId="xs:string"
        />
</RoleAssignment

Type

DeploymentAssignment

Attributes

Attribute

Type

Description

RoleID

xs:string

Identifier of the role associated with a specified assignment.

PrincipalID

xs:string

An integer value representing either a user ID (ID), or a group ID (ID).

Child Elements

None

Parent Elements

RoleAssignment Element (DeploymentManifest)

See Also

Reference

SPRole

SPRoleAssignment

SPRoleDefinition

Concepts

DeploymentManifest Schema