I need to get a list, for a certain node/document, of all user account names who has rights to the node. I figured out how to get the ACL and thereby the RightsID but that is just some bitmask stuff. How can i get the underlying account names (basically from AD). This is the stuff I´m trying now:
NodeRights nd = docman.GetNodeRights(ref otAuth, 166829);
NodeRight[] hu = nd.ACLRights;
But from that part (where I get the 6 digit RightsID) how do I get the string saying which users that is, like the accountname.
And to be honset, I dont even know in which direction to look

Thanks
/Johan