PassportIdentity::HasProfile Method (String^)

 

Indicates whether a given profile attribute exists in this user's profile. This class is deprecated.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public:
bool HasProfile(
	String^ strProfile
)

Parameters

strProfile
Type: System::String^

The Passport profile attribute to query.

Return Value

Type: System::Boolean

true if the profile attribute strProfile exists in this user's profile; otherwise, false.

This class has been deprecated and is no longer supported. Microsoft Passport Network has been replaced by Windows Live ID. For more information about how to use Windows Live ID to authenticate users in a Web application, see Windows Live ID SDK.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: