Click or drag to resize

WikiSiteLoginAsync(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
)

Parameters

userName  String
User name of the account.
password  String
Password of the account.

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