MentDB, The digital brain.  About me Home
Back / All functions / User

A user can connect to the AI, or directly to the storage structure.
A user acts directly on the stimulation table.
A user can not be deleted. It can be disabled.

user create user create|insert|adduser force create user force create|insert|adduser existuser first tab linkuser get tab linkuser set passworduser showuser get thoughtuser stimulateuser tokenuser from tokenuser reset tokenuser reset all tokensuser show groupsuser show scriptsuser disable

user create <login> <password> <separator>

Synonymous

    user create|insert|add

Description

    To create a new user

Parameters

    login:   The login - string - required
    password:   The password - string - required
    separator:   The separator for word creation - string - not required
admin
user create "bob" "pwd"
mentdb
User bob created with successful.
admin
user create "luc-yann" "pwd" "-"
mentdb
User luc-yann created with successful.

user force create <login> <password> <separator>

Synonymous

    user force create|insert|add

Description

    To create a new user (force if the group already exist)

Parameters

    login:   The login - string - required
    password:   The password - string - required
    separator:   The separator for word creation - string - not required
admin
user force create "bob2" "pwd"
mentdb
User bob2 created with successful.
admin
user force create "luc-yann2" "pwd" "-"
mentdb
User luc-yann2 created with successful.

user exist <login>

Description

    To a user already exist

Parameters

    login:   The login - string - required
admin
user exist "admin"
mentdb
1
Description

    To show the first tab link

admin
user first tab link
mentdb
admin
Description

    To get a specific tab link

Parameters

    position:   The position - integer>=0 - required
admin
user get tab link 0
mentdb
admin

user set password <login> <password>

Description

    To set a user password

Parameters

    login:   The login - string - required
    password:   The password - string - required
admin
user set password "bob" "pwd"
mentdb
Password updated with successful.

user show

Description

    To show all users

admin
user show
mentdb
[
"bob2",
"luc-yann",
"bob",
"admin",
"ai",
"mentdb"
]

user get thought <login>

Description

    To get the user's thought

Parameters

    login:   The login - string - required
admin
user get thought "admin"
mentdb
TH[25]

user stimulate <login>

Description

    To stimulate a user

Parameters

    login:   The login - string - required
admin
user stimulate "admin"
mentdb
User stimulated with successful.

user token <login>

Description

    To get a token from user

Parameters

    login:   The login - string - required
admin
user token "admin"
mentdb
lTwGn2QYskaXFF7CLsdAjSaBJdXZHMmU43hWDH91mJGg9TXsavXHBBY4nWiC6zBea3BQqG

user from token <token>

Description

    To get a user from token

Parameters

    token:   The token - string - required
admin
user from token "lTwGn2QYskaXFF7CLsdAjSaBJdXZHMmU43hWDH91mJGg9TXsavXHBBY4nWiC6zBea3BQqG"
mentdb
admin

user reset token <login>

Description

    To reset the token for a specific user

Parameters

    login:   The login - string - required
admin
user reset token "admin"
mentdb
Token generated with successful.

user reset all tokens

Description

    To reset token for all users

admin
user reset all tokens
mentdb
Tokens generated with successful.

user show groups <login>

Description

    To show all groups for a specific user

Parameters

    login:   The login - string - required
admin
user show groups "admin"
mentdb
[
"action",
"admin",
"all",
"api-ai",
"api-mql",
"brain",
"library",
"process",
"reader",
"system"
]

user show scripts <login>

Description

    To show all granted scripts for a specific user

Parameters

    login:   The login - string - required
admin
user show scripts "admin"
mentdb
[
"action.select_reader",
"action.basic_search",
"action.search_strategy",
"action.search_logical",
"action.check_relation",
"action.execute_relation_rs",
"action.execute_relation_ra",
"action.execute_relation_rl",
"action.get_last_relation",
"action.redirection_relation",
"action.relation_response",
"action.relation_redirection",
"action.closed",
"brain.stimulate",
"brain.internal_stimulation",
"process\u003cinitialize\u003e",
"process\u003cclick\u003e",
"reader.space_separator",
"reset_server_id",
"stimulation.last",
"server.info",
"server.version",
"create_word_fr_en",
"perf.symbol",
"perf.word",
"perf.thought",
"perf.relation",
"perf.node"
]

user disable <login>

Description

    To disable a user

Parameters

    login:   The login - string - required
admin
user disable "bob"
mentdb
1




© 2012-2017 - Jimmitry Payet.