Set-DifyMemberRole
Warning
This help was primarily created by a generative AI. It may contain partially inaccurate expressions.
SYNOPSIS
Change a member's role in the workspace.
SYNTAX
Set-DifyMemberRole [[-Member] <PSObject[]>] [[-Role] <String>]
[<CommonParameters>]
DESCRIPTION
The Set-DifyMemberRole
cmdlet changes the role of one or more members in the workspace. The available roles are:
normal
editor
admin
NOTE: This help was primarily created by a generative AI. It may contain partially inaccurate expressions.
EXAMPLES
Example 1
Get-DifyMember -Name "John Doe" | Set-DifyMemberRole -Role "editor"
This example retrieves the member John Doe
using Get-DifyMember
and changes their role to editor
.
PARAMETERS
-Member
Specifies the member or members whose role will be changed. Accepts objects from the pipeline.
Type: PSObject[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Role
Specifies the new role to assign to the members. Valid values are:
normal
editor
admin
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.