private void create_session_and_configure_tabcmd_for_user(string user, string view_location) { TableauHTTP tabhttp = new TableauHTTP(this.tableau_server_url); tabhttp.logger = this.logger; if (tabhttp.create_trusted_ticket_session(view_location, user, this._site, "")) { this.set_tabcmd_auth_info_from_repository_for_impersonation(user); this.configure_tabcmd_config_for_user_session(user); } else { this.log("Trusted ticket session could not be established"); } }
private void CreateSessionAndConfigureTabcmdForUser(string user, string viewLocation) { TableauHTTP tabHttp = new TableauHTTP(this.TableauServerUrl); tabHttp.Logger = this.Logger; if (tabHttp.CreateTrustedTicketSession(viewLocation, user, this.site, "")) { this.SetTabcmdAuthenticationInfoFromRepositoryForImpersonation(user); this.ConfigureTabcmdConfigForUserSession(user); } else { this.Log("Trusted ticket session could not be established"); } }