public class UserState : object
| Member | Description | |
|---|---|---|
![]() |
Constructor | |
![]() ![]() |
CreateFromFormsAuthTicket | Creates a UserData object from authentication information in the Forms Authentication ticket. public static UserState CreateFromFormsAuthTicket();
|
![]() ![]() |
CreateFromString | Creates an instance of a userstate object from serialized data. public static UserState CreateFromString(string userData);
|
![]() |
FromString | Imports Id, Email and Name from a | separated string public bool FromString(string itemString);
|
![]() |
IsEmpty | Determines whether UserState instance holds user information. public bool IsEmpty();
|
![]() |
ToString | Exports a short string list of Id, Email, Name separated by | public virtual string ToString();
|
![]() |
The user's email address or login acount | |
![]() |
IsAdmin | The users admin status |
![]() |
Name | The display name for the userId |
![]() |
UserId | The user's user Id as a string |
![]() |
UserIdInt | Returns the User Id as an int if convertiable |