Export (0) Print
Expand All
Expand Minimize

RoleX Element (DeploymentManifest)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Type
Attributes
Child Elements
Parent Elements

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>

DeploymentRoleX (based on SPRole)

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.

Show:
© 2014 Microsoft