/// <summary> /// Get details about multiple Users. /// </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 UserSearchReturnValue GetMultipleUserDetails(HostSecurityToken oHostSecurityToken, int[] UserIds) { UserSearchReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oUtilitiesService = new UtilitiesService(); returnValue = oUtilitiesService.GetMultipleUserDetails(Functions.GetLogonIdFromToken(oHostSecurityToken), UserIds); } else { returnValue = new UserSearchReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return returnValue; }
/// <summary> /// Get details about multiple Users. /// </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 UserSearchReturnValue GetMultipleUserDetails(HostSecurityToken oHostSecurityToken, int[] UserIds) { UserSearchReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oUtilitiesService = new UtilitiesService(); returnValue = oUtilitiesService.GetMultipleUserDetails(Functions.GetLogonIdFromToken(oHostSecurityToken), UserIds); } else { returnValue = new UserSearchReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return(returnValue); }