SPRoleDefinitionCollection properties

The SPRoleDefinitionCollection type exposes the following members.

Properties

  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 Xml Gets the role definitions for the Web site in XML format.

Top

Explicit interface implementations

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

Top

See also

Reference

SPRoleDefinitionCollection class

Microsoft.SharePoint namespace