public static bool IsActive() { SQL_utils sql = new SQL_utils("backend"); int isactive01 = sql.IntScalar_from_ProcName("trk.fnCurrentUser_IsActive"); sql.Close(); bool isactive = (isactive01 == 1) ? true : false; return(isactive); }
public static bool IsActive() { SQL_utils sql = new SQL_utils("backend"); int isactive01 = sql.IntScalar_from_ProcName("trk.fnCurrentUser_IsActive"); sql.Close(); bool isactive = (isactive01 == 1) ? true : false; return(isactive); }