Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Finding specific locations in a string Pin
_AnsHUMAN_ 11-Jun-08 21:48
_AnsHUMAN_ 11-Jun-08 21:48 
AnswerRe: Finding specific locations in a string Pin
Saurabh.Garg11-Jun-08 21:58
Saurabh.Garg11-Jun-08 21:58 
QuestionReg: System Login detail Pin
pooja_friends11-Jun-08 21:10
pooja_friends11-Jun-08 21:10 
AnswerRe: Reg: System Login detail Pin
Rajesh R Subramanian11-Jun-08 21:57
professionalRajesh R Subramanian11-Jun-08 21:57 
GeneralRe: Reg: System Login detail Pin
pooja_friends11-Jun-08 22:04
pooja_friends11-Jun-08 22:04 
GeneralRe: Reg: System Login detail Pin
Rajesh R Subramanian11-Jun-08 22:09
professionalRajesh R Subramanian11-Jun-08 22:09 
GeneralRe: Reg: System Login detail Pin
David Crow12-Jun-08 4:15
David Crow12-Jun-08 4:15 
AnswerRe: Reg: System Login detail Pin
Nibu babu thomas11-Jun-08 22:11
Nibu babu thomas11-Jun-08 22:11 
pooja_friends wrote:
Such as i want to get Which user(administrator or user),user type etc


You can use CheckTokenMembership. Here is the link to this in MSDN -> http://msdn.microsoft.com/en-us/library/aa376389(VS.85).aspx[^]

Source for IsUserAdmin is shown here, you can customize it for your needs.


Nibu thomas
Microsoft MVP for VC++


Code must be written to be read, not by the compiler, but by another human being.

Programming Blog: http://nibuthomas.wordpress.com

GeneralRe: Reg: System Login detail Pin
pooja_friends11-Jun-08 22:16
pooja_friends11-Jun-08 22:16 
GeneralRe: Reg: System Login detail Pin
Rajesh R Subramanian11-Jun-08 22:22
professionalRajesh R Subramanian11-Jun-08 22:22 
GeneralRe: Reg: System Login detail Pin
pooja_friends11-Jun-08 22:59
pooja_friends11-Jun-08 22:59 
GeneralRe: Reg: System Login detail Pin
Rajesh R Subramanian11-Jun-08 23:04
professionalRajesh R Subramanian11-Jun-08 23:04 
GeneralRe: Reg: System Login detail Pin
pooja_friends11-Jun-08 23:13
pooja_friends11-Jun-08 23:13 
GeneralRe: Reg: System Login detail Pin
Rajesh R Subramanian11-Jun-08 23:20
professionalRajesh R Subramanian11-Jun-08 23:20 
GeneralRe: Reg: System Login detail Pin
pooja_friends11-Jun-08 23:31
pooja_friends11-Jun-08 23:31 
GeneralRe: Reg: System Login detail Pin
Rajesh R Subramanian12-Jun-08 0:00
professionalRajesh R Subramanian12-Jun-08 0:00 
AnswerRe: Reg: System Login detail Pin
Jagdish V. Bhimbha11-Jun-08 23:09
Jagdish V. Bhimbha11-Jun-08 23:09 
GeneralRe: Reg: System Login detail Pin
pooja_friends11-Jun-08 23:47
pooja_friends11-Jun-08 23:47 
GeneralRe: Reg: System Login detail Pin
Jagdish V. Bhimbha12-Jun-08 0:02
Jagdish V. Bhimbha12-Jun-08 0:02 
Questionerror in Access DB "Attempt to Update or Delete failed." and "Recordset is read-only" Pin
Le@rner11-Jun-08 21:04
Le@rner11-Jun-08 21:04 
AnswerRe: error in Access DB "Attempt to Update or Delete failed." and "Recordset is read-only" Pin
Joseph Marzbani11-Jun-08 23:06
Joseph Marzbani11-Jun-08 23:06 
GeneralRe: error in Access DB "Attempt to Update or Delete failed." and "Recordset is read-only" Pin
Le@rner11-Jun-08 23:41
Le@rner11-Jun-08 23:41 
AnswerRe: error in Access DB "Attempt to Update or Delete failed." and "Recordset is read-only" Pin
David Crow12-Jun-08 4:23
David Crow12-Jun-08 4:23 
QuestionDoubt in Serial communication Pin
kuttiam11-Jun-08 19:47
kuttiam11-Jun-08 19:47 
AnswerRe: Doubt in Serial communication Pin
Cedric Moonen11-Jun-08 20:44
Cedric Moonen11-Jun-08 20:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.