@mbanq/core-sdk-js / commands / EnableSelfServiceAccess
Function: EnableSelfServiceAccess()
EnableSelfServiceAccess(
data):Command<{data: {clients?: (string|number)[];email?:string;enabled?:boolean;firstname:string;lastname:string;officeId:number;password?:string;repeatPassword?:string;resetPasswordAfterFirstLogin?:boolean;roles: (string|number)[];sendPasswordToEmail?:boolean;username:string; }; }, {clientId:number;data: {client: {accountNo:number;displayName:string;id:number;officeName:string;status:string; };createdUser: {string;firstName:string;id:number;lastName:string;username:string; };maker: {string;firstName:string;id:number;lastName:string;username:string; }; };id:string;officeId:number;resourceId:number; }>
Defined in: src/commands/rest/user.ts:99
Parameters
data
clients?
(string | number)[] = ...
email?
string = ...
enabled?
boolean = ...
firstname
string = ...
lastname
string = ...
officeId
number = ...
password?
string = ...
repeatPassword?
string = ...
resetPasswordAfterFirstLogin?
boolean = ...
roles
(string | number)[] = ...
sendPasswordToEmail?
boolean = ...
username
string = ...
Returns
Command<{ data: { clients?: (string | number)[]; email?: string; enabled?: boolean; firstname: string; lastname: string; officeId: number; password?: string; repeatPassword?: string; resetPasswordAfterFirstLogin?: boolean; roles: (string | number)[]; sendPasswordToEmail?: boolean; username: string; }; }, { clientId: number; data: { client: { accountNo: number; displayName: string; id: number; officeName: string; status: string; }; createdUser: { email: string; firstName: string; id: number; lastName: string; username: string; }; maker: { email: string; firstName: string; id: number; lastName: string; username: string; }; }; id: string; officeId: number; resourceId: number; }>