User class
Represents a GeoApps user
Signature:export declare class User
Example
The following example shows how to retrieve a users full name:
// Connect with GeoApps as authenticated user
geoapps.Initialize("<specified tenant>", {
authorize: "token",
token: "<user token>" // Token can be requested through https://login.geoapps.nl/token/generatePAT
});
// Get the full name of the user
var fullname = geoapps.CurrentUser.FullName;
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
string | Email address of the user | ||
FullName | string | Full name of the user | |
Id | string | Unique id of the user | |
PreferredLanguage | string | Preferred language of the current user | |
ProfileImage | string | Profile image of the user | |
Settings | { [key: string]: string; } | User settings |