gargantext-0.0.4.9.5: Search, map, share
Copyright(c) CNRS 2017-Present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Gargantext.Database.Action.User.New

Description

 
Synopsis

Documentation

newUsers :: (CmdM env err m, MonadRandom m, HasNodeError err, HasMail env) => [EmailAddress] -> m Int64 Source #

guessUserName :: Text -> Maybe (Text, Text) Source #

guessUserName guess username and normalize it (Text.toLower)

newUser' :: HasNodeError err => MailConfig -> NewUser GargPassword -> Cmd err Int64 Source #

newUsers' :: HasNodeError err => MailConfig -> [NewUser GargPassword] -> Cmd err Int64 Source #

updateUser :: HasNodeError err => SendEmail -> MailConfig -> NewUser GargPassword -> Cmd err Int64 Source #

rmUser :: HasNodeError err => User -> Cmd err Int64 Source #

rmUsers :: HasNodeError err => [User] -> Cmd err Int64 Source #