Check if a user is a member of the specified list.
| C# | Visual Basic |
public static TwitterResponse<TwitterUser> CheckMembership( OAuthTokens tokens, string ownerUsername, string listId, decimal userId, OptionalProperties options )
Public Shared Function CheckMembership ( _ tokens As OAuthTokens, _ ownerUsername As String, _ listId As String, _ userId As Decimal, _ options As OptionalProperties _ ) As TwitterResponse(Of TwitterUser)
- tokens (OAuthTokens)
- The tokens.
- ownerUsername (String)
- The username of the list owner.
- listId (String)
- The list id.
- userId (Decimal)
- The user id.
- options (OptionalProperties)
- The options.
The user's details, if they are a member of the list, otherwise null.