Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 830 Bytes

_src_sso_uac_.md

File metadata and controls

31 lines (18 loc) · 830 Bytes

node-expose-sspiGlobals"src/sso/uac"

Module: "src/sso/uac"

Index

Functions

Functions

hasAdminPrivileges

hasAdminPrivileges(): boolean

Defined in src/sso/uac.ts:17

Test if the current user token has admin privileges.

If this function return false, it means that operations that requires admin rights cannot be done, even if the account is configured with admin right. Functions that require admin right would return the error 5 (admin right required).

Example: netapi.NetUserAdd function can be called only if the user token has admin privilege.

export

Returns: boolean