/// <summary> /// Get details about User. /// </summary> /// <param name="oHostSecurityToken">HostSecurityToken obtained when security provider of IWS is called</param> /// <param name="UserIds">Array of user ids</param> /// <returns></returns> public UserReturnValue GetUserByUid(HostSecurityToken oHostSecurityToken, int uid) { UserReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oUtilitiesService = new UtilitiesService(); returnValue = oUtilitiesService.GetUserByUid(Functions.GetLogonIdFromToken(oHostSecurityToken), uid); } else { returnValue = new UserReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return(returnValue); }
/// <summary> /// Get details about User. /// </summary> /// <param name="oHostSecurityToken">HostSecurityToken obtained when security provider of IWS is called</param> /// <param name="UserIds">Array of user ids</param> /// <returns></returns> public UserReturnValue GetUserByUid(HostSecurityToken oHostSecurityToken, int uid) { UserReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oUtilitiesService = new UtilitiesService(); returnValue = oUtilitiesService.GetUserByUid(Functions.GetLogonIdFromToken(oHostSecurityToken), uid); } else { returnValue = new UserReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return returnValue; }