PassportIdentity.Item Property
Gets Passport profile attributes.
[C#] In C#, this property is the indexer for the PassportIdentity class.
[Visual Basic] Public Default ReadOnly Property Item( _ ByVal strProfileName As String _ ) As String [C#] public string this[ string strProfileName ] {get;} [C++] public: __property String* get_Item( String* strProfileName ); [JScript] returnValue = PassportIdentityObject.Item(strProfileName); -or- returnValue = PassportIdentityObject(strProfileName);
[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.
Arguments [JScript]
- strProfileName
- The Passport profile attribute to return.
Parameters [Visual Basic, C#, C++]
- strProfileName
- The Passport profile attribute to return.
Property Value
The Passport profile attribute.
Remarks
Calling this property is the equivalent of calling GetProfileObject. For more information, see the Passport SDK documentation in the MSDN Library at http://msdn.microsoft.com/library .
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
PassportIdentity Class | PassportIdentity Members | System.Web.Security Namespace