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


RoleAssignmentX 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 security role assignment in cases where incremental changes to the base object are being deployed.

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)

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

Reference

SPRoleAssignment

RoleAssignment Element (DeploymentManifest)

Concepts

DeploymentManifest Schema