private static SetPrincipal ( |
||
identity | ||
리턴 | bool |
public static void LoadPrincipal(string username) { BusinessPrincipal.SetPrincipal(BusinessIdentity.GetIdentity(username)); }
public static bool Login(string username, string password) { return(BusinessPrincipal.SetPrincipal(BusinessIdentity.GetIdentity(username, password))); }