Methods
-
Adds the given persona to an existing user
-
Name Type Description personaNamestring the name of the persona
usernamestring the user to add to the persona to
requestOptionsany configure callbacks
-
Creates a new user in the system
-
Name Type Description requestAppearition.User.Manage.NewUserViewModel the details of the user to create
requestOptionsany configure callbacks
-
Appearition.User.Manage.GetPersonaForUser (username, requestOptions)Array.<Appearition.User.PersonaViewModel> static
Retrieves the persona of the given user
-
Name Type Description usernamestring Identifies the user
requestOptionsany configure callbacks
Returns:
Type Description Array.<Appearition.User.PersonaViewModel> This is returned as part of the success callback function in the requestOptions param -
Check if the username is valid
-
Name Type Description requestAppearition.User.Manage.NewUserViewModel the details of the user to create
requestOptionsany configure callbacks
-
Check if the username is valid
-
Name Type Description usernamestring the username to check
requestOptionsany configure callbacks
-
Appearition.User.Manage.List (request, requestOptions)Appearition.User.Manage.ListResponseViewModel static
Retrieves the persona of the given user
-
Name Type Description requestAppearition.User.Manage.ListRequestViewModel Contains the various search filters for the method
requestOptionsany configure callbacks
Returns:
Type Description Appearition.User.Manage.ListResponseViewModel This is returned as part of the success callback function in the requestOptions param -
Retrieves a list of roles that can be assigned to a persona
-
Name Type Description requestOptionsany configure callbacks
-
Removes the given persona from the given user
-
Name Type Description personaNamestring the name of the persona
usernamestring the user to remove the persona from
requestOptionsany configure callbacks
-
Check if the username is valid
-
Name Type Description usernamestring identifies the user to send the invitation to
requestOptionsany configure callbacks
Type Definitions
-
This is the data structure used to search users via the List method
-
Properties:
Name Type Description ChannelIdnumber Unique identifier to a channel to search in. Leave null for all
ChannelNamestring The name of a channel to search in
Usernamestring Unique identifier for the user
EmailAddressstring Contact email address
FirstNamestring First name
LastNamestring Last name
SearchTextstring Will search across all of the user profile details
Rolestring The role to search by
PersonaNamestring The name of the persona to filter by
IsVerifiedboolean Filter any users by their account verification status. Leave null for all
IsLockedboolean Filter any users by their account locked status. Leave null for all
IsForbiddenAccessboolean Filter any users by their account blocked status. Leave null for all
Pagenumber Which page of the results to return
RecordsPerPagenumber How many records to return (max is 50)
-
This is the data structure returned by the List method
-
Properties:
Name Type Description TotalRecordsnumber The total number of search results found
RecordsPerPagenumber The adjusted number of records per page (if an attempt greater than the max allowed was made)
UsersArray.<Appearition.User.Manage.UserSummaryViewModel> The list of users found by the search
-
This is the data structure that represents a new user in the platform
-
Properties:
Name Type Description Usernamestring Unique identifier for the user
EmailAddressstring Contact email address
FirstNamestring First name
LastNamestring Last name
Mobilestring Contact phone number
BusinessAddressstring Physical street address
BusinessNamestring Name of the organisation that the user represents
OtherAttributesArray.<Appearition.User.Manage.UserAttributeViewModel> A collection of key value pairs
IsAccountVerifiedboolean Flags the system to accept this new users account as verified
SendAccountVerificationboolean Indicates if the system should send a verification link to the contact email address so that the new user can click and activate their account
SendAccountInvitationboolean Indicates if the system should send an invitation to the contact email address so that the new user can set their own password on first login
SetPasswordboolean Indicates that the password is being manually set
Passwordstring Password
ConfirmPasswordstring Repeats the password as confirmation it was entered correctly
PersonaIdstring Identifies the persona that is being assigned to the new user
PersonaNamestring The name of the persona that is being assigned to the new user
RolesArray.<string> A list of roles to allocate to the new user
ChannelsArray.<Appearition.User.ChannelViewModel> A list of channels to allocate to the new user
AcceptedConsent:boolean Indicates that the creator or the new user has accepted consent from the new user that it is ok to give them access to the platform
-
This is the data structure that represents an attribute of a user
-
Properties:
Name Type Description AttributeNamestring The name of the attribute (e.g. Gender, Date of Birth)
AttributeValuestring The value associated with the attribute (e.g. M, 1/1/2000)
-
This is the data structure that hold summary information about each user
-
Properties:
Name Type Description Usernamestring Unique identifier for the user
EmailAddressstring Contact email address
FirstNamestring First name
LastNamestring Last name
Mobilestring Mobile phone number
BusinessAddressstring Business postal address
IsVerifiedboolean Has the account been verified
IsLockedboolean Is the account locked
IsForbiddenAccessboolean is the account blocked from access
PersonaIdnumber Identifies the Persona allocated to the user
PersonaNamestring The name of the Persona allocated to the user
Channelsstring A CSV list of channels allocated to the user
Rolesstring A CSV list of roles allocated to the user