SPRoleDefinitionCollection Properties

The SPRoleDefinitionCollection type exposes the following members.

  Name Description
Public property Count Gets the number of role definitions in the collection. (Overrides SPBaseCollection.Count.)
Public property Item[Int32] Gets the role definition at the specified index in the collection of role definition objects.
Public property Item[String] Gets the role definition with the specified name from the collection.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
Public property Xml Gets the role definitions for the Web site in XML format.

  Name Description
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)