SPRole 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
type SPRole = class
    inherit SPMember
Public Class SPRole
Inherits SPMember
Inheritance
Attributes

Properties

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

Methods

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

Applies to