AddUserAsync

Returns (Task)

Create new User in the designated Folder.

Name Description
folder
user

Add User Async

Example in C#

// Returns: UserInfo
var userInfo = await client.AddUserAsync(FolderInfo folder, UserInfo user)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/INSTANCE.KEY/users \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.UserInfo, Feenics.Keep.WebApi.Model",
                       "Username":"UserExampleFor_cUrl",
                       "MustChangePassword":false,
                       "CannotChangePassword":false,
                       "IsLockedOut":false,
                       "IsDisabled":false,
                       "LastLoginOn":"0001-01-01T00:00:00",
                       "LastActivityOn":"0001-01-01T00:00:00",
                       "LastPasswordChange":"0001-01-01T00:00:00",
                       "TwoFactorEnabled":false,
                       "PasswordPolicy":null,
                       "Key":null,
                       "CommonName":"UserExampleFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'