'Declaration
<NotNullAttribute()> Public Function ReplacePermissions( _ ByVal entity As SecurityEntity, _ ByVal grantPermissions As IList(Of Integer), _ ByVal denyPermissions As IList(Of Integer), _ ByVal inheritanceOptions As SecurityInheritanceOptions _ ) As AccessControlEntry
[NotNull()] public AccessControlEntry ReplacePermissions( SecurityEntity entity, IList<int> grantPermissions, IList<int> denyPermissions, SecurityInheritanceOptions inheritanceOptions )
[NotNull()] public: AccessControlEntry^ ReplacePermissions( SecurityEntity^ entity, IList<int>^ grantPermissions, IList<int>^ denyPermissions, SecurityInheritanceOptions inheritanceOptions )
Parameters
- entity
- The SecurityEntity to replace permissions for.
- grantPermissions
- The permissions to grant. Can be null if no changes are being made.
- denyPermissions
- The permissions to deny. Can be null if no changes are being made.
- inheritanceOptions
- The inheritance options to use.
Return Value
The new or updated AccessControlEntry reflecting the permissions.