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


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

DECLARATION
<xs:element name="RoleX" type="DeploymentRoleX" />

USAGE
<SPObject>
        <RoleX
                Operation="SecurityModificationType"
                OperationCode="xs:string"
                WebId="xs:string"
                WebUrl="xs:string"
                RoleId="xs:string"
                Title="xs:string"
                Description="xs:string"
                PermMask="xs:string"
                Hidden="xs:boolean"
                RoleOrder="xs:string"
                Type="xs:string"
                UserId="xs:string"
                UserLogin="xs:string"
        />
</SPObject>

Type

DeploymentRoleX (based on SPRole)

Attributes

Attribute

Type

Description

Operation

SecurityModificationType Simple Type (DeploymentManifest)

Required. Enumeration type that specifies which security role modifications are allowed.

OperationCode

xs:string

Required.

WebId

xs:string

Required. Identifier of the Web site to which changes are deployed.

WebUrl

xs:string

Required. URL of the Web site to which changes are deployed.

RoleId

xs:string

Optional. Identifier of the security role for objects that are deployed.

Title

xs:string

Optional. Display name of the role.

Description

xs:string

Optional. Description of the role.

PermMask

xs:string

Optional. Permission mask for the role.

Hidden

xs:bool

Optional. Specifies whether the role is hidden; true if hidden, otherwise, false.

RoleOrder

xs:string

Optional. Position of the role in

Type

xs:string

Optional. Type for the role as listed in the Microsoft.SharePoint.SPRoleType enumeration.

UserId

xs:string

Optional. Identifier of users that belong to the role.

UserLogin

xs:string

Optional. Logon credential for user.

Child Elements

None

Parent Elements

SPObject Element (DeploymentManifest)

See Also

Reference

SPRole

Role Element (DeploymentManifest)

Concepts

DeploymentManifest Schema