{-# LINE 1 "src/System/PosixCompat/User.hsc" #-}
{-|
{-# LINE 2 "src/System/PosixCompat/User.hsc" #-}
This module makes the operations exported by @System.Posix.User@
available on all platforms. On POSIX systems it re-exports operations from
@System.Posix.User@. On other platforms it provides dummy implementations.
-}
module System.PosixCompat.User (
    -- * User environment
    -- ** Querying the user environment
    getRealUserID,
    getRealGroupID,
    getEffectiveUserID,
    getEffectiveGroupID,
    getGroups,
    getLoginName,
    getEffectiveUserName,

    -- *** The group database
    GroupEntry(..),
    getGroupEntryForID,
    getGroupEntryForName,
    getAllGroupEntries,

    -- *** The user database
    UserEntry(..),
    getUserEntryForID,
    getUserEntryForName,
    getAllUserEntries,

    -- ** Modifying the user environment
    setUserID,
    setGroupID
  ) where


{-# LINE 35 "src/System/PosixCompat/User.hsc" #-}


{-# LINE 37 "src/System/PosixCompat/User.hsc" #-}

import System.Posix.User


{-# LINE 47 "src/System/PosixCompat/User.hsc" #-}


{-# LINE 132 "src/System/PosixCompat/User.hsc" #-}