[]
• new Events()
Define the events supported by UserManager.
• Static CurrentUserChanged: string
Indicates the event when the current user is changed.
param GC.Spread.Common.IUser oldCurrentUser The old current user.
param GC.Spread.Common.IUser newCurrentUser The new current user.
example
GC.Spread.Common.UserManager.bind(GC.Spread.Common.Events.CurrentUserChanged, (event, args) => {
console.log(event);
console.log(args.oldCurrentUser);
console.log(args.newCurrentUser);
});