Share via


Item(String) Property

The Item property of the SPUserCollection class gets the user object with the specified user name from the collection.

[C#] In C#, this property is an indexer for the SPUserCollection class.

Parameters

loginName   A string that contains the user name.

Property Value

A Microsoft.SharePoint.SPUser object that represents the user.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security