win32security.LookupPrivilegeValue

LARGE_INTEGER = LookupPrivilegeValue(systemName, privilegeName )

Retrieves the locally unique id for a privilege name

Parameters

systemName : string

String specifying the system, use None for local machine

privilegeName : string

String specifying the privilege (win32security.SE_*_NAME)