Home
last modified time | relevance | path

Searched refs:win32security (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/chrome/test/mini_installer/
Dvariable_expander.py12 import win32security
47 token_handle = win32security.OpenProcessToken(win32api.GetCurrentProcess(),
48 win32security.TOKEN_QUERY)
49 user_sid, _ = win32security.GetTokenInformation(token_handle,
50 win32security.TokenUser)
51 user_sid_string = win32security.ConvertSidToStringSid(user_sid)
/external/chromium_org/tools/telemetry/telemetry/core/platform/
Dwin_platform_backend.py35 import win32security # pylint: disable=F0401
43 win32security = None variable
287 win32security.OpenProcessToken(handle, win32con.TOKEN_QUERY)) as token:
288 return bool(win32security.GetTokenInformation(
289 token, win32security.TokenElevation))