Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Administration

Notices

Reply

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

 

LinkBack Thread Tools Display Modes
Old 03-28-2007, 01:43 AM   #1 (permalink)
Default About the user'name could not mapping the security ID on Vista.

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.
Fei
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On


Similar Threads

Thread Thread Starter Forum Replies Last Post
VISTA SECURITY R. A. Pazderski Windows Vista Security 32 02-02-2008 12:57 PM
Why doesn't this mapping script work in Vista? mark1210 Windows Vista Networking & Sharing 5 04-05-2007 06:21 PM
Mapping a netowrk drive with Vista Home Christine Windows Vista Networking & Sharing 2 03-13-2007 09:15 PM
Difficulty Mapping Drives under Vista Neil P Windows Vista Networking & Sharing 1 03-04-2007 02:00 AM
security in windows vista Dragoncraft Windows Vista Security 2 07-10-2006 03:07 AM


All times are GMT. The time now is 06:33 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90