Sub HttpGetUsers(showLoading As Boolean, resetPage As Boolean)
httpAgent.Initialize("GetUsers", Me)
If (showLoading) Then
ProgressDialogShow(Utils.GetAppString("Loading_Msg"))
Else
ProgressBar1.Visible = True
End If
If (resetPage) Then usersListPageIndex = 1
httpAgent.PostString(Utils.GetConfigFile.get("EndpointAddress") & "GetUsersList", "pagindex=" & usersListPageIndex)
Utils.SetCookiesHeader(httpAgent.GetRequest)
End Sub