Class: User

User

new User(uid_or_account)

Given a user id or JSON object, this Creates a new jDrupal User object.
Parameters:
Name Type Description
uid_or_account Number | Object
Source:

Members

constructor :jDrupal.User|*

Set the constructor.
Type:
Source:

Methods

getAccountName() → {*}

Source:
Returns:
Type
*

isAnonymous() → {boolean}

Source:
Returns:
Type
boolean

isAuthenticated() → {boolean}

Source:
Returns:
Type
boolean

postLoad(options) → {Promise}

Parameters:
Name Type Description
options
Source:
Returns:
Type
Promise