Namespaces
Methods
-
Appearition.User.GetMyAllowedPersona (requestOptions)Array.<Appearition.Persona.ChannelViewModel> static
Retrieves the allowed persona for the logged in user. Applicable when the logged in user is allowed to manage users and they are presented with a choice of persona they are creating
-
Name Type Description requestOptionsany configure callbacks
Returns:
Type Description Array.<Appearition.Persona.ChannelViewModel> This is returned as part of the success callback function in the requestOptions param -
Retrieves the persona for the logged in user
-
Name Type Description requestOptionsany configure callbacks
Returns:
Type Description Array.<Appearition.Persona.ChannelViewModel> This is returned as part of the success callback function in the requestOptions param -
Appearition.User.GetMyPersona (requestOptions)Array.<Appearition.User.PersonaViewModel> static
Retrieves the persona for the logged in user
-
Name Type Description requestOptionsany configure callbacks
Returns:
Type Description Array.<Appearition.User.PersonaViewModel> This is returned as part of the success callback function in the requestOptions param
Type Definitions
-
This is the data structure that represents a channel on the platform
-
Properties:
Name Type Description Idstring The unique name of the channel
Namestring Name of the channel
-
This is the data structure that represents all the allowed actions for a persona
-
Properties:
Name Type Description CanCreateUsersboolean Is the persona allowed to create new users
CanEditUserAccountboolean Is the persona allowed to modify account information such as passwords
CanEditUserPersonalDetailsboolean Is the persona allowed to modify personal details such as name and contact email
CanEditUserChannelsboolean Is the persona allowed to modify what channels a user is allocated to
CanOverrideUserRolesboolean Is the persona allowed to manually pick roles when creating/editing a user
ShowAcceptConsentOnUserCreateboolean When creating new users, must this persona accept consent.
AcceptConsentDisplayTextstring If the ShowAcceptConsentOnUserCreate=true, this may contain a special label that should be presented to the user as part of the consent process
PermissionsAppearition.Persona.Manage.PersonaPermissionViewModel Describes what this persona is allowed to do.
-
This is the data structure that represents a persona on the platform
-
Properties:
Name Type Description Namestring The unique name of the persona
Descriptionstring Any text that describes the persona
CanAccessAllRolesboolean Identifies if user can see all the roles in the system
RolesArray.<string> A list of roles that are allocated for this persona
CanAccessAllPersonaboolean Identifies if user can see all the persona in the system
PersonaAccessArray.<string> A list of other personas that this persona has access to
PermissionsAppearition.Persona.Manage.PersonaPermissionViewModel Describes what this persona is allowed to do.