示例#1
0
        public static Guid          user_AuthToken_Valid(this TM_Proxy tmProxy, string username)
        {
            var tmUser = tmProxy.user("admin");

            return((tmUser.notNull())
                        ? tmProxy.user_AuthToken_Valid(tmUser)
                        : Guid.Empty);
        }
示例#2
0
        public static TMUser        user_New(this TM_Proxy tmProxy, string userName, string password)
        {
            var userId = tmProxy.invoke_Static <int>(typeof(Users_Creation), "newUser", tmProxy.TmUserData, userName, password);

            return(tmProxy.user(userId));
        }
示例#3
0
 public static TMUser  user(this string userName, TM_Proxy tmProxy)
 {
     return(tmProxy.user(userName));
 }
示例#4
0
 public static TMUser  user(this int userId, TM_Proxy tmProxy)
 {
     return(tmProxy.user(userId));
 }
 public static TMUser user(this string userName, TM_Proxy tmProxy)
 {
     return tmProxy.user(userName);
 }
 public static TMUser user(this int userId, TM_Proxy tmProxy)
 {
     return tmProxy.user(userId);
 }