Click or drag to resize

AccountInfo Class

This is preliminary documentation and is subject to change.

Provides read-only access to the current logged-in information.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.SitesAccountInfo

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[JsonContractAttribute]
public sealed class AccountInfo

The AccountInfo type exposes the following members.

Constructors
 NameDescription
Public methodAccountInfoObsolete.
Initializes a new instance of the AccountInfo class
Top
Properties
 NameDescription
Public propertyBlockInfoDetailed information of the active block placed on the current user, if any.
Public propertyExtensionData Gets the other extensible site information.
Public propertyGroups 
Public propertyIdCurrent user ID.
Public propertyIsAnonymous Determines whether current user is anonymous. It's recommended that you use IsUser to determine whether a user has logged in.
Public propertyIsBlockedDetermines whether the current user has been blocked.
Public propertyIsBot Determines whether current user is in "bot" group.
Public propertyIsUser Determines whether current user is in "user" group. This is usually used to determine whether a user has logged in.
Public propertyName 
Public propertyRights 
Top
Methods
 NameDescription
Public methodAssertInGroup Asserts the user is in certain group.
Public methodAssertRight Asserts the user has certain right.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasRight Determines whether the user has certain right.
Public methodIsInGroup Determines whether the user is in certain group.
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Public methodToUserStub Creates a UserStub from the current account information.
Top
Remarks
See Also