1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/id.R
\name{id}
\alias{id}
\alias{group_ids}
\alias{user_ids}
\title{Lookup Users and Groups on a system}
\usage{
group_ids()
user_ids()
}
\value{
They return their results in a \code{data.frame}. On windows both
functions return an empty \code{data.frame} because windows does not have user
or group ids.
}
\description{
These functions use the GETPWENT(3) and GETGRENT(3) system calls to query
users and groups respectively.
}
\examples{
# list first 6 groups
head(group_ids())
# list first 6 users
head(user_ids())
}
|