SPRoleCollection public class SPRoleCollection : SPBaseCollection Documentation public SPRole this[string name] { get; } public SPRole this[int index] { get; } public SPWeb Web { get; } public string Xml { get; } public void Add(string name, string description, SPRights permissionMask) public SPRole GetByID(int id) public SPRoleCollection GetCollection(string[] names) public SPRole GetSpecialRole(SPRoleType roleType) public void Remove(string name) public void Remove(int index) public void RemoveByID(int id)