Skip to content

Latest commit

 

History

History
144 lines (104 loc) · 3.59 KB

Set-CsUserCallingDelegate.md

File metadata and controls

144 lines (104 loc) · 3.59 KB
external help file Module Name online version applicable author ms.author ms.reviewer manager schema
Microsoft.Open.Teams.CommonLibrary.dll-Help.xml
MicrosoftTeams
Microsoft Teams
jenstrier
serdars
2.0.0

Set-CsUserCallingDelegate

SYNOPSIS

This cmdlet will change permissions for a delegate for calling in Microsoft Teams.

SYNTAX

Identity (Default)

Set-CsUserCallingDelegate -Identity <String> -Delegate <String> [-MakeCalls <Boolean>] [-ReceiveCalls <Boolean>] [-ManageSettings <Boolean>] [<CommonParameters>]

DESCRIPTION

This cmdlet can change the permissions assigned to a delegate for the specified user.

EXAMPLES

Example 1

Set-CsUserCallingDelegate -Identity user1@contoso.com -Delegate user2@contoso.com -MakeCalls $false -ReceiveCalls $true -ManageSettings $false

This example shows setting the permissions for user1@contoso.com's delegate user2@contoso.com.

Example 2

Set-CsUserCallingDelegate -Identity user1@contoso.com -Delegate user2@contoso.com -MakeCalls $true

This example shows setting the MakeCalls permissions to True for user1@contoso.com's delegate user2@contoso.com.

PARAMETERS

-Delegate

The Identity of the delegate to add. Can be specified using the ObjectId or the SIP address.

A user can have up to 25 delegates.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-Identity

The Identity of the user to add a delegate for. Can be specified using the ObjectId or the SIP address.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-MakeCalls

Specifies whether delegate is allowed to make calls on behalf of the specified user.

Type: System.Boolean
Parameter Sets: All
Aliases:

Required: False
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ManageSettings

Specifies whether delegate is allowed to change the delegate and calling settings for the specified user.

Type: System.Boolean
Parameter Sets: All
Aliases:

Required: False
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ReceiveCalls

Specifies whether delegate is allowed to receive calls on behalf of the specified user.

Type: System.Boolean
Parameter Sets: All
Aliases:

Required: False
Default value: False
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.Object

NOTES

The cmdlet is available in Teams PowerShell module 4.0.0 or later.

The specified user need to have the Microsoft Phone System license assigned.

You can see the delegate of a user by using the Get-CsUserCallingSettings cmdlet.

RELATED LINKS

Get-CsUserCallingSettings

New-CsUserCallingDelegate

Remove-CsUserCallingDelegate