Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > About the user'name could not mapping the security ID on Vista.

Reply
Thread Tools Display Modes

About the user'name could not mapping the security ID on Vista.

 
 
Fei
Guest
Posts: n/a

 
      03-28-2007
There is a problem between SID and user's name. When you change the user name
in the 'User and User Group' console panel, if not logoff or restart, the OS
will make mistakes. For example, examine the property of 'My Computer', it
would prompt that pidl errors. I want to get the user's SID by
LookupAccountName(), it prompt that no mapping between the user' name and
SID.

I try to use OpenProcessToken and GetTokenInformation get the current user's
SID, and successfully. But if the process run as by administrator, this
operation would get the SID of administrator but not the current user's. Is
there another function that get the SID of the current user in this condition?

Thank you.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no mapping between account names and security IDs was done error happydude Windows Vista General Discussion 1 01-31-2008 12:22 AM
"no mapping between account names and security" hamiltoncruiser Windows Vista General Discussion 1 12-31-2007 04:17 AM
No mapping between account names and security IDs was done lytell@gmail.com Windows Vista General Discussion 2 11-20-2007 03:25 AM
"No mapping between account names and security ID's " error David Windows Vista Networking 4 09-17-2007 03:03 PM
Mapping drive from XP to Vista Diane K Windows Vista General Discussion 3 09-04-2007 10:22 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59