Assign Account Role
The assignAccountRole
is used to assign role to account and returns transaction receipt.
PermissionWrapper.assignAccountRole(account, orgId, roleId, from)
account
: string - account idorgId
: string - organization id to which the account belongsroleId
: string - role id to be assigned to the accountfrom
: string - account send transaction
Return transaction receipt