Showing 22 blocks

user: cast to object

Converts an user object type to an object type.


In pins

User

Out pins

user

user: cast to user

Converts an object type to an user object type.


In pins

User

Out pins

user

User Management: change password from token

Change the password for a user with the password forgot token

password, reset, token, forgot, change
v9.3.25

In pins

flow
User guid
The guid of the user who the token belongs to
Token
The token input from the user
New password
New password choosen by the user

Out pins

flow
Success
True if the password is successfully changed. If false, the error pin would be filled
Error (optional)
If success is false, this explains why

User Management: create user

In pins

flow
User ID
The ID of the user (eg: username, email, code)
Password
Password or passcode for the user
User Data
Yes
User Data
Optional: Extra data for the user account
expiry
The user will be removed after this date

Out pins

flow
User
on error
Yes
v10.4.29
success (optional)
Returns false in case of an error
error (optional)
Return the error in case of an error

Current User: current user

Returns the current logged-in user object as user-pin.


In pins

Out pins

user

user: get custom field from user

In pins

User
field

Out pins

Boolean
Value
Number
Date
Array
Object

get: get fields

Gets the given fields from the user data-pin and returns this per data-pin.

get multiple fields from object, get field from object

In pins

user

Out pins

Current User: get IP

Returns the ip of the user currently browsing the page. It uses the connection so the user does not need to be logged in in order for the IP to be returned.


In pins

Out pins

value

Current User: has scope

Checks if the current logged-in user matches the given scopes.


In pins

scopes
Match all

Out pins

has scopes

Host URL: host url

Returns the URL from the Host.


In pins

Out pins

url

Current User: is loggedin

Returns true if currently a user is logged-in.


In pins

Out pins

Logged-in

Current User: is on iPad

Returns true if the user is on an iPad.


In pins

Out pins

on iPad

User Management: request 2FA SMS

second factor, sms, two factor, auth, mobile
v9.3.19

In pins

flow
Access Token
The access token for which you want to send a SMS 2FA code

Out pins

flow
Success
Is the SMS send correctly
Error Message
The error message if success is false

User Management: request password forgot token

Request a token to send to a user, so the user can change / reset his password with that token

password, reset, token, forgot
v9.3.25

In pins

flow
User guid
The guid of the user who requested the password
Expiration
5 minutes
The number of minutes the token should be valid

Out pins

flow
Token
The token which can be send to the user (eg: via mail or SMS)
Success

User Management: sign as user

Sign in as another user, token expires after 24 hours or on signout

login, signin

In pins

flow
User Guid
The guid of the user
Reload frontend (optional)
Yes
false
If set to true the frontend will reload on successful signin. This will only work if the action is executed by a user in the frontend.
Expire at (optional)
The date/time this login session should expire.
Hide session (optional)
Hide the session from the users active sessions list

Out pins

flow
Success
Check if the user successfully signed in!
error
When success is false, The error shows here
Auth
Auth object containing access token and maxAge
User

User Management: sign in

login, signin

In pins

flow
User ID
The ID of the user (eg: username, email, code).
Password
Password for the given user.
Expire at (optional)
The date/time this login session should expire.

Out pins

flow
Success
Check if the user successfully signed in!
error
When success is false, The error shows here
Auth
Auth object containing access token and maxAge
User
Need 2FA
2FA methods
The 2FA methods that are enabled and configured for this user
Default 2FA method
The 2FA method the user has selected to be the users default

Current User: token

Returns information about the currently used user token.


In pins

Out pins

object

User Management: update user

In pins

flow
User
Yes
v11.1.17
The user object
guid
The documents GUID (unique ID) to update.
Password (optional)
Password or passcode for the user (Should be left empty to keep current password)
User Data (optional)
Optional: Extra data for the user account
expiry (optional)
The user will be removed after this date

Out pins

flow
User
on error

User Management: user exists

In pins

flow
User ID
The ID of the user (eg: username, email, code)

Out pins

flow
Exists

User Management: validate password forgot token

Validate the user input token before actually use it to change the password

password, reset, token, forgot, validate, check
v9.3.25

In pins

flow
User guid
The guid of the user who the token belongs to
Token
The token input from the user

Out pins

flow
Valid
True if the token is valid to change

User Management: verify 2FA

yubikey, otp, totp

In pins

flow
Auth
The auth object which is returned from the signin action
Method
2FA method that you want to verify
2FA Token
2FA token to verify

Out pins

flow
User
Valid

User Management: verify password

In pins

flow
guid
The guid of the user
password
The plaintext password being verified

Out pins

flow
Valid

Groups