Hi!
 
24.10.2016, 16:38, "Onorio Catenacci" <catena...@ieee.org>:

I want to be able to verify that the currently logged-in user has
admin permissions. Any pointers to blog postings or vocabularies I
may want to look at?

 
This will tell you if the current user is a member of the Administrators group:
 
USING: io.launcher io.encodings.utf8 sequences ; "Administrators" "whoami /groups" utf8 [ contents ] with-process-reader start
 
If result is `f`, then the word "Administrators" was not found in the output. If result is a number, then it was.
 

I am also interested in driving automated tests against websites. I
didn't see anything but has anyone done any work on an FFI with the
Selenium WebDrivers?

Never heard of it.
 
---=====---
Александр
 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to