AD1318-8070 avatar image
0 Votes"
AD1318-8070 asked FanFan-MSFT edited

Get permissions applied on a GPO in C#


I am running Get-GPPermission cmdlet to fetch the list of permissions applied on the GPO using C#.

From the result PSObject I am able to get the permission and inherited properties, but could not get the name of trustee.

The trustee in PSObject is of type Microsoft.GroupPolicy.GPTrustee, could someone help me in retrieving the name/sid of trustee without using Microsoft.GroupPolicy.Management.dll?


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers