This documentation is archived and is not being maintained.

PassportIdentity.GetDomainAttribute Method

Provides information for a Passport domain by querying the Passport manager for the requested domain attribute.

[Visual Basic]
Public Function GetDomainAttribute( _
   ByVal strAttribute As String, _
   ByVal iLCID As Integer, _
   ByVal strDomain As String _
) As String
[C#]
public string GetDomainAttribute(
 string strAttribute,
 int iLCID,
 string strDomain
);
[C++]
public: String* GetDomainAttribute(
 String* strAttribute,
 int iLCID,
 String* strDomain
);
[JScript]
public function GetDomainAttribute(
   strAttribute : String,
 iLCID : int,
 strDomain : String
) : String;

Parameters

strAttribute
The name of the attribute value to retrieve.
iLCID
The language in which various Passport network pages should be displayed to the member.
strDomain
The domain authority name to query for an attribute.

Return Value

A string representing the requested attribute.

Remarks

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

Show: