|
System.Posix.User | Portability | non-portable (requires POSIX) | Stability | provisional | Maintainer | libraries@haskell.org |
|
|
|
|
|
Description |
POSIX user/group support
|
|
Synopsis |
|
|
|
|
User environment
|
|
Querying the user environment
|
|
getRealUserID :: IO UserID |
|
getRealGroupID :: IO GroupID |
|
getEffectiveUserID :: IO UserID |
|
getEffectiveGroupID :: IO GroupID |
|
getGroups :: IO [GroupID] |
|
getLoginName :: IO String |
|
getEffectiveUserName :: IO String |
|
The group database
|
|
data GroupEntry |
|
|
getGroupEntryForID :: GroupID -> IO GroupEntry |
|
getGroupEntryForName :: String -> IO GroupEntry |
|
The user database
|
|
data UserEntry |
|
|
getUserEntryForID :: UserID -> IO UserEntry |
|
getUserEntryForName :: String -> IO UserEntry |
|
Modifying the user environment
|
|
setUserID :: UserID -> IO () |
|
setGroupID :: GroupID -> IO () |
|
Produced by Haddock version 0.7 |