gitlab-haskell-0.2.5: A Haskell library for the GitLab web API
Copyright(c) Rob Stewart Heriot-Watt University 2019
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

GitLab.API.Users

Description

 
Synopsis

Documentation

allUsers :: GitLab [User] Source #

all registered users.

userId Source #

Arguments

:: Int

username to search for

-> GitLab (Maybe User) 

searches for a user given a user ID. Returns Just User if the user is found, otherwise Nothing.

searchUser Source #

Arguments

:: Text

username to search for

-> GitLab (Maybe User) 

searches for a user given a username. Returns Just User if the user is found, otherwise Nothing.

orderedUsers Source #

Arguments

:: [Text]

usernames to search for

-> GitLab [User] 

searches for users given a list of usernames, returns them in alphabetical order of their usernames.