GetIdentity() static private method

static private GetIdentity ( string name ) : BusinessIdentity
name string
return BusinessIdentity
示例#1
0
 public static void LoadPrincipal(string username)
 {
     BusinessPrincipal.SetPrincipal(BusinessIdentity.GetIdentity(username));
 }
示例#2
0
 public static bool Login(string username, string password)
 {
     return(BusinessPrincipal.SetPrincipal(BusinessIdentity.GetIdentity(username, password)));
 }