A pair of unix username and primary unix group.
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.
t
Async.Std.User_and_group