API Reference
Class
AclOwnerWriter
Helpers for changing ownership on files and directories using native SetNamedSecurityInfo.
Inheritance
- Object
- AclOwnerWriter
Methods
public static Boolean SetFileOwner(String path, String identity) #Returns:
BooleanSets the file/directory owner to the specified identity (name or SID).
Parameters
- path System.String
- identity System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object