This documentation is archived and is not being maintained.

PassportIdentity.HasFlag Method

Indicates whether a given flag is set in this user's profile.

[Visual Basic]
Public Function HasFlag( _
   ByVal iFlagMask As Integer _
) As Boolean
[C#]
public bool HasFlag(
 int iFlagMask
);
[C++]
public: bool HasFlag(
 int iFlagMask
);
[JScript]
public function HasFlag(
   iFlagMask : int
) : Boolean;

Parameters

iFlagMask
The Passport profile flag to query.

Return Value

true if the Passport profile flag iFlagMask is set in this user's profile; otherwise, false.

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: