2010-08-02 16:22:03 UTC
retrieve the username of the user who is running the client?
The server does a LookupAccountName() and ConvertSidToStringSid() and then
creates a SDDL string "(A;OICI;GA;;;<sidstring>)" that is passed to
ConvertStringSecurityDescriptorToSecurityDescriptor() to create the security
attributes passed in to the CreateNamedPipe() initially. The
LookupAccountName() gets the the SID of a specific group. The intention
being that only users that are members of that group are allowed to open the
That appears to work. I'd like to be able to tell which specific user
opened the pipe. How do I do that?