SPUserCollection properties
The SPUserCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of users in the collection. (Overrides SPBaseCollection.Count.) | |
Item[Int32] | Gets the user object at the specified index in the collection. In C#, this property is an indexer for the SPUserCollection class. | |
Item[String] | Gets the user object with the specified user name from the collection. In C#, this property is an indexer for the SPUserCollection class. | |
RetrieveAllRoles | Gets or sets a Boolean value that specifies whether to preload roles for users to increase performance. (Inherited from SPMemberCollection.) | |
SchemaXmlEx | Gets a list schema that specifies fields used to define the collection. | |
ViewSchemaXmlEx | Gets a schema that describes the default view used to return user information for the collection. | |
Web | Gets the Web site to which the collection belongs. (Inherited from SPMemberCollection.) | |
Xml | Gets an XML representation of the collection. | |
XmlEx | Gets the collection in XMLDATA format. |
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