Account |
This is preliminary documentation and is subject to change.
The AccountInfo type exposes the following members.
Name | Description | |
---|---|---|
AccountInfo | Obsolete. Initializes a new instance of the AccountInfo class |
Name | Description | |
---|---|---|
BlockInfo | Detailed information of the active block placed on the current user, if any. | |
ExtensionData | Gets the other extensible site information. | |
Groups | ||
Id | Current user ID. | |
IsAnonymous | Determines whether current user is anonymous. It's recommended that you use IsUser to determine whether a user has logged in. | |
IsBlocked | Determines whether the current user has been blocked. | |
IsBot | Determines whether current user is in "bot" group. | |
IsUser | Determines whether current user is in "user" group. This is usually used to determine whether a user has logged in. | |
Name | ||
Rights |
Name | Description | |
---|---|---|
AssertInGroup | Asserts the user is in certain group. | |
AssertRight | Asserts the user has certain right. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
HasRight | Determines whether the user has certain right. | |
IsInGroup | Determines whether the user is in certain group. | |
ToString | Returns a string that represents the current object. (Overrides ObjectToString) | |
ToUserStub | Creates a UserStub from the current account information. |