Click or drag to resize

WikiaSiteWikiaApiExtensionsFetchUserAsync(WikiaSite, String) Method

This is preliminary documentation and is subject to change.

Asynchronously fetches the specified user's information.

Namespace: WikiClientLibrary.Wikia.WikiaApi
Assembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static Task<UserInfo> FetchUserAsync(
	this WikiaSite site,
	string userName
)

Parameters

site  WikiaSite
The site to issue the request.
userName  String
The user name to be fetched.

Return Value

TaskUserInfo
A task that returns the requested user information, or null for inexistent user.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WikiaSite. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionEither site or userName is null.
See Also