| NbOfflineUserLoginWithEmailAsync Method |
Email でログインする
Namespace: Nec.NebulaAssembly: Nec.Nebula.Offline (in Nec.Nebula.Offline.dll) Version: 7.0.0.0 (7.0.0.0)
Syntaxpublic static Task<NbUser> LoginWithEmailAsync(
string email,
string password,
NbUserLoginMode mode = 0,
NbService service = null
)
Public Shared Function LoginWithEmailAsync (
email As String,
password As String,
Optional mode As NbUserLoginMode = 0,
Optional service As NbService = Nothing
) As Task(Of NbUser)
public:
static Task<NbUser^>^ LoginWithEmailAsync(
String^ email,
String^ password,
NbUserLoginMode^ mode = 0,
NbService^ service = nullptr
)
static member LoginWithEmailAsync :
email : string *
password : string *
?mode : NbUserLoginMode *
?service : NbService
(* Defaults:
let _mode = defaultArg mode 0
let _service = defaultArg service null
*)
-> Task<NbUser>
Parameters
- email
- Type: SystemString
E-mail - password
- Type: SystemString
パスワード - mode (Optional)
- Type: Nec.NebulaNbUserLoginMode
ログインモード(デフォルトはOnline) - service (Optional)
- Type: Nec.NebulaNbService
サービス
Return Value
Type:
TaskNbUserログインしたユーザ情報
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | E-mail、パスワードがnull |
| UnauthorizedAccessException | 前回と異なるユーザでのログイン |
Version InformationOffline
Supported in: 1.0
See Also