GPPermission Class

 

Represents the pairing of a trustee (such as a user or security group) and a policy-related permission that applies to a single object; for example, to a GPO or a WMI filter. A trustee is also known as a security principal.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

Inheritance Hierarchy

System.Object
  Microsoft.GroupPolicy.GPPermission

Syntax

public class GPPermission
public ref class GPPermission 
type GPPermission = class end
Public Class GPPermission

Constructors

Name Description
System_CAPS_pubmethod GPPermission(IdentityReference, GPPermissionType, Boolean)

Initializes a new instance of the GPPermission class, by using the specified IdentityReference.

System_CAPS_pubmethod GPPermission(String, GPPermissionType, Boolean)

Initializes a new instance of the GPPermission class, by using the specified security principal name.

Properties

Name Description
System_CAPS_pubproperty Denied

Gets a value that indicates whether the permission is denied.

System_CAPS_pubproperty Inheritable

Gets a value that indicates whether the permission can be inherited by a child container.

System_CAPS_pubproperty Inherited

Gets a value that indicates whether the permission is inherited from a parent container.

System_CAPS_pubproperty Permission

Gets the permission level for the security principal (trustee).

System_CAPS_pubproperty Trustee

Gets the security principal (trustee) to which the permission applies.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This class wraps the IGPMPermission COM interface.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.GroupPolicy Namespace

Return to top