Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPUserCollection Properties

The SPUserCollection type exposes the following members.

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

  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.)
Top
Show:
© 2015 Microsoft