Problem description
This is similar to issue #2061 that need to use the command addedin issue #2060 to evalaute if the principal is a role so that it can return permissions for server roles as well.
|
$testSqlDscIsLoginParameters = @{ |
|
ServerObject = $ServerObject |
|
Name = $Name |
|
} |
|
|
|
$isLogin = Test-SqlDscIsLogin @testSqlDscIsLoginParameters |
Verbose logs
How to reproduce
n/a
Expected behavior
n/a
Current behavior
n/a
Suggested solution
n/a
Operating system the target node is running
PowerShell version and build the target node is running
Module version used
Problem description
This is similar to issue #2061 that need to use the command addedin issue #2060 to evalaute if the principal is a role so that it can return permissions for server roles as well.
SqlServerDsc/source/Public/Get-SqlDscServerPermission.ps1
Lines 53 to 58 in 666ef4e
Verbose logs
How to reproduce
n/a
Expected behavior
n/a
Current behavior
n/a
Suggested solution
n/a
Operating system the target node is running
PowerShell version and build the target node is running
Module version used