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 | |
---|---|---|
GPPermission(IdentityReference, GPPermissionType, Boolean) | Initializes a new instance of the GPPermission class, by using the specified IdentityReference. |
|
GPPermission(String, GPPermissionType, Boolean) | Initializes a new instance of the GPPermission class, by using the specified security principal name. |
Properties
Name | Description | |
---|---|---|
Denied | Gets a value that indicates whether the permission is denied. |
|
Inheritable | Gets a value that indicates whether the permission can be inherited by a child container. |
|
Inherited | Gets a value that indicates whether the permission is inherited from a parent container. |
|
Permission | Gets the permission level for the security principal (trustee). |
|
Trustee | Gets the security principal (trustee) to which the permission applies. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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