Twitterizer 2 Documentation
Show Method (tokens, username, options)
NamespacesTwitterizerTwitterUserShow(OAuthTokens, String, OptionalProperties)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter. The author's most recent status will be returned inline.
Declaration Syntax
C#Visual Basic
public static TwitterResponse<TwitterUser> Show(
	OAuthTokens tokens,
	string username,
	OptionalProperties options
)
Public Shared Function Show ( _
	tokens As OAuthTokens, _
	username As String, _
	options As OptionalProperties _
) As TwitterResponse(Of TwitterUser)
Parameters
tokens (OAuthTokens)
The tokens.
username (String)
The user name.
options (OptionalProperties)
The options.
Return Value
A new instance of the TwitterUser class.
Remarks
This method interacts with the users/show API endpoint. Documentation can be found here: http://dev.twitter.com/doc/get/users/show
Examples
CopyC#
// Declare the username variable
string userName = "twit_er_izer";

// Declare the options object for configuration settings
OptionalProperties options = new OptionalProperties();

// Declare our user variable and fetch the user's details
TwitterResponse<TwitterUser> user = TwitterUser.Show(tokens, userName, options);
CopyVB.NET
'-- Declare the user's id variable
Dim UserName As String = "twit_er_izer"

'-- Declare the options object for configuration settings
Dim options As new OptionalProperties()

'-- Declare our user variable and fetch the user's details
Dim user As TwitterResponse(Of TwitterUser) = TwitterUser.Show(tokens, UserName, options)
Exceptions
ExceptionCondition
ArgumentNullExceptionIndicates that a required argument was not supplied.
ArgumentExceptionIndicates that an argument supplied was not valid.
[!:Twitterizer.CommandValidationException<T>]Indicates that a command failed pre-execution validation.
See Also

Assembly: Twitterizer2 (Module: Twitterizer2) Version: 2.3.2.40349 (2.3.2.0)