C# Class Cats.Helpers.UserAccountHelper

显示文件 Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
GetCurrentUser ( ) : UserInfo
GetUser ( string userName ) : UserInfo
GetUserName ( ) : string
GetUserName ( this helper ) : string
GetUserPermissionCache ( CatsGlobals application ) : NetSqlAzMan.Cache.UserPermissionCache
UserCalendarPreference ( ) : string
UserCalendarPreference ( this helper ) : string
UserLanguagePreference ( this helper ) : string
UserUnitPreference ( ) : string
UserUnitPreference ( this helper ) : string

Private Methods

Method Description
GetUserInfo ( string userName ) : UserInfo
SignOut ( ) : void

Method Details

GetCurrentUser() public static method

public static GetCurrentUser ( ) : UserInfo
return Cats.Models.Security.UserInfo

GetUser() public static method

public static GetUser ( string userName ) : UserInfo
userName string
return Cats.Models.Security.UserInfo

GetUserName() public static method

public static GetUserName ( ) : string
return string

GetUserName() public static method

public static GetUserName ( this helper ) : string
helper this
return string

GetUserPermissionCache() public static method

public static GetUserPermissionCache ( CatsGlobals application ) : NetSqlAzMan.Cache.UserPermissionCache
application CatsGlobals
return NetSqlAzMan.Cache.UserPermissionCache

UserCalendarPreference() public static method

public static UserCalendarPreference ( ) : string
return string

UserCalendarPreference() public static method

public static UserCalendarPreference ( this helper ) : string
helper this
return string

UserLanguagePreference() public static method

public static UserLanguagePreference ( this helper ) : string
helper this
return string

UserUnitPreference() public static method

public static UserUnitPreference ( ) : string
return string

UserUnitPreference() public static method

public static UserUnitPreference ( this helper ) : string
helper this
return string