Здравствуйте, consist, Вы писали:
C>Hello to all! Please help me. I need read and change User rights assignment:
C>- Create a token object;
C>- Log on as a service;
C>- Replace a process level token.
If you talk about current user, you can read ones privileges via GetTokenInformation( .. TokenPrivilege ..)
You can not change current user privileges, but you can enable them (see AdjustTokenPrivileges).
I dont now how to read other user privileges.
AFAIK, you can change user privileges only by add/remove him in/from group.
C>Thanks.
Excuse my english