PassportIdentity.HasFlag(Int32) 方法
定义
指示是否在此用户的配置文件中设置了给定标志。Indicates whether a given flag is set in this user's profile. 此类已弃用。This class is deprecated.
public:
bool HasFlag(int iFlagMask);
public bool HasFlag (int iFlagMask);
member this.HasFlag : int -> bool
Public Function HasFlag (iFlagMask As Integer) As Boolean
参数
- iFlagMask
- Int32
要查询的 Passport 配置文件标志。The Passport profile flag to query.
返回
如果在此用户的配置文件中设置了 Passport 配置文件标志 iFlagMask,则为 true;否则为 false。true if the Passport profile flag iFlagMask is set in this user's profile; otherwise, false.
注解
此类已弃用且不再受支持。This class has been deprecated and is no longer supported. Microsoft Passport 网络已替换为 Windows Live ID。Microsoft Passport Network has been replaced by Windows Live ID. 有关如何使用 Windows Live ID 在 Web 应用程序中对用户进行身份验证的详细信息,请参阅 Windows LIVE ID SDK。For more information about how to use Windows Live ID to authenticate users in a Web application, see Windows Live ID SDK.