Add-FluxUserRole

SYNOPSIS

{{ Fill in the Synopsis }}

SYNTAX

Add-FluxUserRole -HiveApplication <HiveApplication> -User <ApplicationUser> -Roles <IdentityRole[]>
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-HiveApplication

The Hive application that supplies the configuration and application paths

Type: HiveApplication
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Roles

The roles to assign to the user, e.g., 'Admin', 'Member', 'Owner'

Type: IdentityRole[]
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-User

The application user to assign roles to

Type: ApplicationUser
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Identity.IdentityResult>

NOTES