File: id.Rd

package info (click to toggle)
r-cran-fs 1.6.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 744 kB
  • sloc: cpp: 1,288; ansic: 530; sh: 13; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 599 bytes parent folder | download | duplicates (4)
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())
}