I need to write a program to add an entry to Local Security Settings -> User Rights Assignment -> Act as part of the operating system.

Since I have to do this using a program I need to know were these entries coming from.

Are these entries located in the registry? Or else where shall I look?

Is there an API for this?