You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to retrieve mail id of users who is logging in
Tableau server version is 2020.4.5
tableauserverclient version is 0.15.0
I am using the code mentioned in #278
still i get none for fullname and email
Note: i want to retrieve mail id of the site admin who is logging in as we have multiple sites and need to send a mail to that site admin whoever logging to that particular site admin
code:
import tableauserverclient as TSC
tableau_auth = TSC.TableauAuth('USERNAME', 'PASSWORD')
server = TSC.Server('https://SERVERURL')
with server.auth.sign_in(tableau_auth):
all_users, pagination_item = server.users.get()
for user_item in all_users:
print("User name: '{}' fullname: '{}', User email: '{}'".format(user_item.name,
user_item.fullname,
user_item.email))
The text was updated successfully, but these errors were encountered:
you need to request these fields explicitly, they are not all included in the return object by default. I'll have to look at how tsc code supports that.
I need to retrieve mail id of users who is logging in
Tableau server version is 2020.4.5
tableauserverclient version is 0.15.0
I am using the code mentioned in #278
still i get none for fullname and email
Note: i want to retrieve mail id of the site admin who is logging in as we have multiple sites and need to send a mail to that site admin whoever logging to that particular site admin
code:
import tableauserverclient as TSC
tableau_auth = TSC.TableauAuth('USERNAME', 'PASSWORD')
server = TSC.Server('https://SERVERURL')
with server.auth.sign_in(tableau_auth):
all_users, pagination_item = server.users.get()
for user_item in all_users:
print("User name: '{}' fullname: '{}', User email: '{}'".format(user_item.name,
user_item.fullname,
user_item.email))
The text was updated successfully, but these errors were encountered: