Set-WhiteboardOwner

Sets the owner for a Whiteboard.

Syntax

Set-WhiteboardOwner
   [[-Token] <AuthenticationResult>]
   [-WhiteboardId] <Guid>
   [-OldOwnerId] <Guid>
   [-NewOwnerId] <Guid>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Sets the owner for a Whiteboard.

Examples

-------------------------- EXAMPLE 1 --------------------------

PS C:\>Set-WhiteboardOwner -OldOwnerId 00000000-0000-0000-0000-000000000001 -NewOwnerId 00000000-0000-0000-0000-000000000002

Move a Whiteboard from one user to another.

Required Parameters

-NewOwnerId

The ID of the new owner.

Type:Guid
Position:4
Default value:None
Accept pipeline input:false
Accept wildcard characters:False
-OldOwnerId

The ID of the previous owner.

Type:Guid
Position:3
Default value:None
Accept pipeline input:false
Accept wildcard characters:False
-WhiteboardId

The Whiteboard for which the owner is being changed.

Type:Guid
Position:2
Default value:None
Accept pipeline input:false
Accept wildcard characters:False

Optional Parameters

-Confirm [<SwitchParameter>]
Type:SwitchParameter
Position:named
Default value:None
Accept pipeline input:false
Accept wildcard characters:False
-ForceAuthPrompt

Optional. Always prompt for auth. Use to ignore cached credentials.

Type:SwitchParameter
Position:named
Default value:false
Accept pipeline input:false
Accept wildcard characters:False
-Token

The Azure AD bearer token corresponding to the specified credentials. If unspecified, a new token will be generated.

Type:Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult
Position:1
Default value:None
Accept pipeline input:false
Accept wildcard characters:False
-WhatIf
Type:SwitchParameter
Position:named
Default value:None
Accept pipeline input:false
Accept wildcard characters:False

Inputs

None

Outputs

System.Object

Notes

For details on user IDs, see the overview page.