/// <summary> /// 获取登录用户类型 /// </summary> /// <returns>用户角色类型,见E_VDA_USER_ROLE_TYPE定义</returns> public E_VDA_USER_ROLE_TYPE GetLoginUserType() { MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXSDKProtocol VdaSdk_GetLoginUserType"); uint dwUserType; bool retVal = IVXSDKProtocol.VdaSdk_GetLoginUserType(out dwUserType); if (!retVal) { // 调用失败,抛异常 CheckError(); } MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXSDKProtocol VdaSdk_GetLoginUserType ret:" + retVal); return((E_VDA_USER_ROLE_TYPE)dwUserType); }