Class UserSiteRoleSupportUserFilter
Excludes users with SupportUser siterole from migration.
Inherited Members
Namespace: Tableau.Migration.Engine.Hooks.Filters.Default
Assembly: Tableau.Migration.dll
Syntax
public class UserSiteRoleSupportUserFilter : ContentFilterBase<IUser>, IContentFilter<IUser>, IMigrationHook<IEnumerable<ContentMigrationItem<IUser>>>
Constructors
UserSiteRoleSupportUserFilter(ISharedResourcesLocalizer, ILogger<IContentFilter<IUser>>)
Default constructor
Declaration
public UserSiteRoleSupportUserFilter(ISharedResourcesLocalizer localizer, ILogger<IContentFilter<IUser>> logger)
Parameters
Type | Name | Description |
---|---|---|
ISharedResourcesLocalizer | localizer | A string localizer. |
ILogger<IContentFilter<IUser>> | logger | Default logger. |
Methods
ShouldMigrate(ContentMigrationItem<IUser>)
Checks if the item should be migrated.
Declaration
public override bool ShouldMigrate(ContentMigrationItem<IUser> item)
Parameters
Type | Name | Description |
---|---|---|
ContentMigrationItem<IUser> | item | The item to evaluate. |
Returns
Type | Description |
---|---|
bool | True if the item should be migrated. |