SPRoleCollection Properties
Include Protected Members
Include Inherited Members
NOTE: This API is now obsolete.
The SPRoleCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Obsolete. Obsolete. Use the new SPRoleDefinition and SPRoleAssignment classes instead, to define roles and to assign users to them. For more information, see Authorization Object Model. (In Windows SharePoint Services 2.0, the Count property returned the number of roles in the collection and is maintained for backward compatibility.). (Overrides SPBaseCollection.Count.) | |
Item[Int32] | Obsolete. Obsolete. Use the new SPRoleDefinition and SPRoleAssignment classes instead, to define roles and to assign users to them. For more information, see Authorization Object Model. (In Windows SharePoint Services 2.0, the Item property returned the role object at the specified index in the collection and is maintained for backward compatibility.) | |
Item[String] | Obsolete. Obsolete. Use the new SPRoleDefinition and SPRoleAssignment classes instead, to define roles and to assign users to them. For more information, see Authorization Object Model. (In Windows SharePoint Services 2.0, the Item property returned the role object with the specified name from the collection and is maintained for backward compatibility.) | |
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) | |
Web | Obsolete. Obsolete. Use the new SPRoleDefinition and SPRoleAssignment classes instead, to define roles and to assign users to them. For more information, see Authorization Object Model. (In Windows SharePoint Services 2.0, the Web property returned the parent Web site for the collection of roles and is maintained for backward compatibility.) | |
Xml | Obsolete. Obsolete. Use the new SPRoleDefinition and SPRoleAssignment classes instead, to define roles and to assign users to them. For more information, see Authorization Object Model. (In Windows SharePoint Services 2.0, the Xml property returned the collection of roles in XML format and is maintained for backward compatibility.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.IsSynchronized | Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.) |
Top