|
-
March 21st, 2011, 10:22 PM
#1
LookupAccountSid Function
I have the sid of the owner of a file, and I am using it to call LookupAccountSid ( http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx ) so that it returns the name of the owner + the domain.
When I do this, I often get the owner as "Administrators",
while ReferencedDomainName returns "BUILTIN".
In the referencedDomainName section in the MS documentation regarding the function (in the link above) it says:
"Some accounts are predefined by the system. The domain name returned for these accounts is BUILTIN."
Although I would like to distinguish between files that are owned by administrators on different domains.
Is there a way to get:
local machine name or sever name\Administrators?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|