module User_and_group: sig
.. end
A pair of unix username and primary unix group.
type
t
include Identifiable.S
The string/sexp converters follow the usual unix convention of '<user>:<group>'.
val create : user:string -> group:string -> t
val user : t -> string
val group : t -> string
val for_this_process : unit -> t Or_error.t
Get the
t
for the current process. If you're using async, there is a wrapper,
Async.Std.User_and_group
, that doesn't do blocking calls.
val for_this_process_exn : unit -> t
module Stable: sig
.. end