Re: параметры User Rights Assignment
От: SergH Россия  
Дата: 14.12.06 17:09
Оценка:
Здравствуйте, 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
Делай что должно, и будь что будет
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.