StarterGpo.SetSecurityInfo Method (GPPermissionCollection)
Sets the trustees (security principals) and their permissions for the Starter Group Policy object (GPO).
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public void SetSecurityInfo(
GPPermissionCollection collection
)
public:
void SetSecurityInfo(
GPPermissionCollection^ collection
)
member SetSecurityInfo :
collection:GPPermissionCollection -> unit
Public Sub SetSecurityInfo (
collection As GPPermissionCollection
)
Parameters
collection
Type: Microsoft.GroupPolicy.GPPermissionCollectionA GPPermissionCollection object that contains all the trustees (security principals) for the Starter GPO, and the policy-related permissions associated with each trustee to set for the Starter GPO.
Remarks
You can use the GetSecurityInfo method to get a GPPermissionCollection that contains the current trustees and their permissions for the Starter GPO. You can then add, remove or modify GPPermission objects in the collection, and call this method with the modified collection to modify permissions for the Starter GPO.
See Also
StarterGpo Class
Microsoft.GroupPolicy Namespace
Return to top