GPPermission Constructor (IdentityReference, GPPermissionType, Boolean)
Initializes a new instance of the GPPermission class, by using the specified IdentityReference.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in microsoft.grouppolicy.management.dll)
Usage
Dim identity As IdentityReference Dim rights As GPPermissionType Dim inheritable As Boolean Dim instance As New GPPermission(identity, rights, inheritable)
Syntax
'Declaration
Public Sub New ( _
identity As IdentityReference, _
rights As GPPermissionType, _
inheritable As Boolean _
)
public GPPermission (
IdentityReference identity,
GPPermissionType rights,
bool inheritable
)
public:
GPPermission (
IdentityReference^ identity,
GPPermissionType rights,
bool inheritable
)
public GPPermission (
IdentityReference identity,
GPPermissionType rights,
boolean inheritable
)
public function GPPermission (
identity : IdentityReference,
rights : GPPermissionType,
inheritable : boolean
)
Parameters
- identity
A IdentityReference that represents the security principal to which the permission applies.
- rights
One of the GPPermissionType enumeration values that specifies the policy-related permission level.
- inheritable
true to specify that the permission can be inherited by a child container; otherwise, false.
Platforms
Development Platforms
Windows Server 2008 R2
Target Platforms
Windows Server 2008 R2
See Also
Reference
GPPermission Class
GPPermission Members
Microsoft.GroupPolicy Namespace