Метод | Описание | |
---|---|---|
SetLoginCookie ( string username, string loginKey, System.DateTime expiration ) : void |
Sets the login cookie.
|
|
SetupSession ( UserInfo user ) : void |
Sets up a user session.
|
|
TryAutoLogin ( ) : void |
Tries to automatically login the current user.
|
|
TryRedirect ( bool goHome ) : void |
Tries to redirect the user to any specified URL.
|
|
VerifyReadPermissionsForCurrentNamespace ( ) : void |
Verifies read permissions for the current user, redirecting to the appropriate page if no valid permissions are found.
|
public static SetLoginCookie ( string username, string loginKey, System.DateTime expiration ) : void | ||
username | string | The username. |
loginKey | string | The login key. |
expiration | System.DateTime | The expiration date/time. |
Результат | void |
public static SetupSession ( UserInfo user ) : void | ||
user | UserInfo | The user ( |
Результат | void |
public static TryRedirect ( bool goHome ) : void | ||
goHome | bool | A value indicating whether to redirect to the home page if no explicit redirect URL is found. |
Результат | void |
public static VerifyReadPermissionsForCurrentNamespace ( ) : void | ||
Результат | void |