Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "process/geteuid/docs/types/index.d"

Index

Functions

Functions

Export assignment geteuid

  • geteuid(): number | null
  • Returns the effective numeric user identity of the calling process.

    Notes

    • The function only returns an effective user identity on POSIX platforms. For all other platforms (e.g., Windows and Android), the function returns null.

    Returns number | null

    effective numeric user identity or null

    Example

    var uid = geteuid();