SPRole SPRole SPRole Class

Definition

Warning

This API is now obsolete.

public ref class SPRole : Microsoft::SharePoint::SPMember
[System.Obsolete("Use the SPRoleDefinition class instead")]
public class SPRole : Microsoft.SharePoint.SPMember
Public Class SPRole
Inherits SPMember
Inheritance
Attributes

Properties

Description Description Description
Groups Groups Groups
ID ID ID
Name Name Name
ParentWeb ParentWeb ParentWeb
PermissionMask PermissionMask PermissionMask
Type Type Type
Users Users Users
Xml Xml Xml

Methods

AddGroup(SPGroup) AddGroup(SPGroup) AddGroup(SPGroup)
AddUser(SPUser) AddUser(SPUser) AddUser(SPUser)
AddUser(String, String, String, String) AddUser(String, String, String, String) AddUser(String, String, String, String)
RemoveGroup(SPGroup) RemoveGroup(SPGroup) RemoveGroup(SPGroup)
RemoveUser(SPUser) RemoveUser(SPUser) RemoveUser(SPUser)
ToString() ToString() ToString()
Update() Update() Update()

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to