UserServiceGetIUpdateForUpdatingSelfAsync Method

获取当前用户更新自己的账户信息时所需的 IUpdate 对象。

Definition

Namespace: QuickAdmin.Service.Admin
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.13
C#
protected virtual Task<IUpdate<SysUser>> GetIUpdateForUpdatingSelfAsync(
	SysUser user,
	CancellationToken cancellationToken
)

Parameters

user  SysUser
将要更新的用户实体。
cancellationToken  CancellationToken
用于取消操作的令牌。

Return Value

TaskIUpdateSysUser
设置了更新字段的 IUpdate 对象。

Remarks

EnableUserMobileVerification/EnableUserEmailVerification 决定是否更新手机号码/电子邮件。AccountId 始终不允许更新。

See Also