Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1011888 // isRootUser

JavaX fragment (include)

static bool isRootUser() {
  ret eq(System.getProperty("user.name"), "root");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011888
Snippet name: isRootUser
Eternal ID of this version: #1011888/1
Text MD5: 2e817b43546973661d9fc5d2e22959a9
Author: stefan
Category: javax / os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-09 04:53:21
Source code size: 81 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 397 / 436
Referenced in: [show references]