Struct UserAuthenticationType
Structure representing the authentication type of a user.
Implements
Namespace: Tableau.Migration.Content
Assembly: Tableau.Migration.dll
Syntax
public readonly record struct UserAuthenticationType : IEquatable<UserAuthenticationType>
Fields
Default
Gets a value representing the site default authentication type.
Declaration
public static readonly UserAuthenticationType Default
Field Value
Type | Description |
---|---|
UserAuthenticationType |
Properties
AuthenticationType
Gets the authentication type, or null if the site uses IdpConfigurationIds.
Declaration
public string? AuthenticationType { get; }
Property Value
Type | Description |
---|---|
string |
IdpConfigurationId
Gets the IdP configuration ID, or null if the site uses AuthenticationTypes.
Declaration
public Guid? IdpConfigurationId { get; }
Property Value
Type | Description |
---|---|
Guid? |
Methods
ForAuthenticationType(string)
Creates a new UserAuthenticationType value.
Declaration
public static UserAuthenticationType ForAuthenticationType(string authenticationType)
Parameters
Type | Name | Description |
---|---|---|
string | authenticationType | The authentication type. |
Returns
Type | Description |
---|---|
UserAuthenticationType | The created UserAuthenticationType value. |
ForConfigurationId(Guid)
Creates a new UserAuthenticationType value.
Declaration
public static UserAuthenticationType ForConfigurationId(Guid idpConfigurationId)
Parameters
Type | Name | Description |
---|---|---|
Guid | idpConfigurationId | The IdP configuration ID. |
Returns
Type | Description |
---|---|
UserAuthenticationType | The created UserAuthenticationType value. |