Anonymous
|
Hi Normunds. Yes, that is what I am referring to - I want to be able to programmatically enable/disable that flag. As I understand it, the NAMES_LIST "Authenticated" parameter can have a value of 4 (plus 1, I suppose) to indicate that full access is granted. I was hoping to find a way to test for that, and even toggle it, if possible. I'm just not sure how to go about accessing this information for the current user. Using the C-API calls is still rather confusing to me. Public Type Names_List NumNames As Integer License (3) As Integer Authenticated (1) As Integer Users As String*256 End Type /* Defines for Authentication flags */ #define NAMES_LIST_AUTHENTICATED 0x0001 #define NAMES_LIST_PASSWORD_AUTHENTICATED 0x0002 #define NAMES_LIST_FULL_ADMIN_ACCESS 0x0004 /* Set if user requested full admin access and it was granted */
|