Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
同步过程设置此字段来报告 MobiLink 用户验证的状态。MobiLink 服务器将此信息提供给客户端。
根据所使用的 API 不同,语法会有所变化。
允许值保存在接口特定的枚举中。例如,对于 C/C++ 应用程序有如下的枚举:
如果统一数据库上的自定义 authenticate_user 同步脚本返回不同的值,则根据 authenticate_user 连接事件中给出的规则解释该值。
如果要实现自定义验证方案,则 authenticate_user 或 authenticate_user_hashed 同步脚本必须返回此参数的允许值之一。
此参数由 MobiLink 服务器设置,因此是只读参数。
UltraLite for C/C++ 应用程序可以按如下方法访问参数:
ul_sync_info info; // ... returncode = info.auth_status;