TestimoX

API Reference

Class

AclOwnerWriter

Namespace ComputerX.Acl
Assembly ComputerX
Modifiers static

Helpers for changing ownership on files and directories using native SetNamedSecurityInfo.

Inheritance

  • Object
  • AclOwnerWriter

Methods

public static Boolean SetFileOwner(String path, String identity) #
Returns: Boolean

Sets the file/directory owner to the specified identity (name or SID).

Parameters

path System.String requiredposition: 0
identity System.String requiredposition: 1