Role Element
TOC
Collapse the table of content
Expand the table of content

Role 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 an instance of a Windows SharePoint Services 3.0 deployment role (DeploymentRole) object.


DECLARATION
<xs:element name="Role" type="DeploymentRole" minOccurs="0" maxOccurs="unbounded" />

USAGE
<Roles>
        <Role
                RoleId="xs:string"
                Title="xs:string"
                Description="xs:string"
                PermMask="xs:string"
                Hidden="xs:boolean"
                RoleOrder="xs:string"
                Type="xs:string"
        />
</Roles>

DeploymentRole (based on SPRole)

Attribute

Type

Description

RoleId

xs:string

Required. Integer that specifies the member ID.

Title

xs:string

Required. Specifies the name for the role.

Description

xs:string

Optional. Provides a description of the role.

PermMask

xs:string

Required. Specifies a permission mask for the role.

Hidden

xs:boolean

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

RoleOrder

xs:string

Optional. Specifies the order in which permission levels are displayed on the Permission Levels page of a site collection.

Type

xs:string

Optional. Specifies the role type, as listed in the Microsoft.SharePoint.SPRoleType enumeration.

The value of the RoleID property corresponds to the unique member ID for the role, which is specified in the SPMember.ID property of the SPMember class.

Show:
© 2016 Microsoft