id | R Documentation |
These functions use the GETPWENT(3) and GETGRENT(3) system calls to query users and groups respectively.
group_ids()
user_ids()
They return their results in a data.frame
. On windows both
functions return an empty data.frame
because windows does not have user
or group ids.
# list first 6 groups
head(group_ids())
# list first 6 users
head(user_ids())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.