System.Web.Security Namespace PassportIdentity Class
Indicates whether a given profile attribute exists in this user's profile.
[ VB ]
Public Function HasProfile ( _
strProfile As String _
) As Boolean
[ C# ]
public bool HasProfile (
string strProfile
);
[ C++ ]
public: bool HasProfile (
String* strProfile
);
[ JScript ]
public function HasProfile (
strProfile : String
) : Boolean;
- strProfile
- The Passport profile attribute to query.
true if the profile attribute strProfile exists in this user's profile; otherwise, false.
For more information, see the Passport SDK documentation in the MSDN Library.
PassportIdentity Members