Getting user information
-
Hi, I want to get the user account information from the local machine. For this I'm using NetUserGetInfo method. Moreover I want to know if a particular user account has been disabled or not. I went through some Network Management Structures but din't come across any structure that would explicitly provide me with this info. Kindly anybody tell me how to extract this info from Windows using Net API. Thanks Abhishek. Learning is a never ending process of Life.
-
Hi, I want to get the user account information from the local machine. For this I'm using NetUserGetInfo method. Moreover I want to know if a particular user account has been disabled or not. I went through some Network Management Structures but din't come across any structure that would explicitly provide me with this info. Kindly anybody tell me how to extract this info from Windows using Net API. Thanks Abhishek. Learning is a never ending process of Life.
Look at the usri2_flags member of the USER_INFO_2 structure.