User

Search
Feedback

User is the base type for all types that need user functionality. A user is a Principal, i.e. can be used to provide Ownership.

User extends AbstractNode and provides the following additional properties.

Name Type Description
confirmationKey String A temporary unique token used in the process of User Self-Registration
img Image The profile image of a User
imageData String, input only A special property that can be used to Create an Image from a Base64 string
homeDirectory Folder The home directory of a user. Only valid if the [Filesystem] … settings are enabled (TODO!)
workingDirectory Folder The working directory of a user. Used in the SSH and FTP services
groups List of Groups The Groups this User is a member of
eMail String The e-mail address of this user, used for Authentication
twitterName String The twitter name of this User, can be used in the process of User Self-Registration
localStorage String TODO
backendUser Boolean Indicates whether this User has access to the Structr Backend
frontendUser Boolean Indicates whether this User has access to the Structr Frontend
isUser Boolean A read-only value that will always be true for all User types and their subtypes

Graph-Browser

About this article
Last change 2017-05-04
Topics Structr 2.0