I need to retrieve the owner and permissions associated with a file. I followed the example given in readme file to get the SID of owner for a file. I'm getting some value of security descriptor but not getting sid associated with the owner. Not sure if security descriptor value is coming correct or not.
Below is the output that i'm getting:
secDesc is the security descriptory handle and owner points to the sid of owner.
I need to retrieve the owner and permissions associated with a file. I followed the example given in readme file to get the SID of owner for a file. I'm getting some value of security descriptor but not getting sid associated with the owner. Not sure if security descriptor value is coming correct or not.
Below is the output that i'm getting: secDesc is the security descriptory handle and owner points to the sid of owner.
secDesc=== 983968 owner=== &{}