Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Set-MyInvokeCommandAlias -Alias "sfDataCreateAccountTeamMember" -Command 'Invoke-SfDataCreateAccountTeamMember -AccountId {accountid} -UserId {userid} -TeamMemberRole "{teammemberrole}"'

function Get-SfAccountRole{
function Get-SfAccountTeamMember{

Check notice

Code scanning / PSScriptAnalyzer

The cmdlet 'Get-SfAccountTeamMember' does not have a help comment. Note

The cmdlet 'Get-SfAccountTeamMember' does not have a help comment.
[CmdletBinding()]
param(
[Parameter(Position=0)][string]$SfUrl,
Expand Down Expand Up @@ -28,7 +28,7 @@
$ret = $response | NormalizeResponse

return $ret
} Export-ModuleMember -Function Get-SfAccountRole
} Export-ModuleMember -Function Get-SfAccountTeamMember


function NormalizeResponse{
Expand All @@ -53,7 +53,7 @@
}
}

function Set-SfAccountRole{
function Set-SfAccountTeamMember{

Check warning

Code scanning / PSScriptAnalyzer

Function 'Set-SfAccountTeamMember' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning

Function 'Set-SfAccountTeamMember' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.

Check notice

Code scanning / PSScriptAnalyzer

The cmdlet 'Set-SfAccountTeamMember' does not have a help comment. Note

The cmdlet 'Set-SfAccountTeamMember' does not have a help comment.
[CmdletBinding()]
param(
[Parameter(Position=0)][string]$SfUrl,
Expand All @@ -80,7 +80,7 @@
$ret = Invoke-MyCommand -Command "sfDataCreateAccountTeamMember" -Parameters $params

return $ret
} Export-ModuleMember -Function Set-SfAccountRole
} Export-ModuleMember -Function Set-SfAccountTeamMember

# Sample: rulasg - 0055c000009T2o8AAC
# Sample account url : https://github.lightning.force.com/lightning/r/Account/0015c00002VbY47AAF/view
Expand Down
Loading