User and Group authentication
Tableau Server and Tableau Cloud support different authentication types. The Migration SDK supports authentication types listed in AuthenticationTypes out of the box.
Defaults
The default authentication type for users is ServerDefault
. It is set by the UserAuthenticationTypeTransformer
.
Server to Cloud
It is possible to set the authentication type on users and groups. The ServerToCloudMigrationPlanBuilder
contains methods to support mapping Server users and groups to Cloud authentication types.
SAML and Tableau ID specific
WithSamlAuthenticationType(string domain)
: Adds mappings for user and group domains based on the SAML authentication type with a domain supplied.WithTableauIdAuthenticationType(bool mfa = true)
: Adds mappings for user and group domains based on the Tableau ID authentication type with or without multi-factor authentication.
Tableau Cloud Usernames
The WithTableauCloudUsernames()
and its overloads allow you to supply an email domain or your own implementation of ITableauCloudUsernameMapping
for Tableau Cloud user names.
General methods
The WithAuthenticationType()
and its overloads allow you to supply your chosen authentication type with your implementation of IAuthenticationTypeDomainMapping
.
Custom Mapping
You can also build your own mapping to supply to the appropriate WithAuthenticationType()
overload. See Sample EmailDomainMapping for example code.