Click or drag to resize

WikiSiteLoginAsync(String, String, String) Method

This is preliminary documentation and is subject to change.

Logins into the wiki site.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Task LoginAsync(
	string userName,
	string password,
	string domain
)

Parameters

userName  String
User name of the account.
password  String
Password of the account.
domain  String
Domain name. null is usually a good choice.

Return Value

Task
Exceptions
ExceptionCondition
InvalidOperationExceptionAttempt to login/logout concurrently.
OperationFailedExceptionCannot login with the specified credential.
ArgumentNullExceptionEither userName or password is null or empty.
Remarks
This operation will refresh AccountInfo.
See Also