コード例 #1
0
 public static bool Login(string username, string password)
 {
     return(BusinessPrincipal.SetPrincipal(BusinessIdentity.GetIdentity(username, password)));
 }
コード例 #2
0
 public static void LoadPrincipal(string username)
 {
     BusinessPrincipal.SetPrincipal(BusinessIdentity.GetIdentity(username));
 }
コード例 #3
0
 public static bool Login()
 {
     return(BusinessPrincipal.SetPrincipal(BusinessIdentity.GetIdentity()));
 }