page result restored, got lost somewhere
Subscriber Number for Users added. Search on Subscriber Number is still on the to do list.
This commit is contained in:
parent
0475288ebd
commit
8841bbd6c3
32 changed files with 536 additions and 102 deletions
|
@ -199,7 +199,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
new SqlParameter("@Username", username));
|
||||
}
|
||||
|
||||
public static int AddUser(int actorId, int ownerId, int roleId, int statusId, int loginStatusId, bool isDemo,
|
||||
public static int AddUser(int actorId, int ownerId, int roleId, int statusId, string subscriberNumber, int loginStatusId, bool isDemo,
|
||||
bool isPeer, string comments, string username, string password,
|
||||
string firstName, string lastName, string email, string secondaryEmail,
|
||||
string address, string city, string country, string state, string zip,
|
||||
|
@ -217,6 +217,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
new SqlParameter("@OwnerID", ownerId),
|
||||
new SqlParameter("@RoleID", roleId),
|
||||
new SqlParameter("@StatusId", statusId),
|
||||
new SqlParameter("@SubscriberNumber", subscriberNumber),
|
||||
new SqlParameter("@LoginStatusId", loginStatusId),
|
||||
new SqlParameter("@IsDemo", isDemo),
|
||||
new SqlParameter("@IsPeer", isPeer),
|
||||
|
@ -243,7 +244,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
return Convert.ToInt32(prmUserId.Value);
|
||||
}
|
||||
|
||||
public static void UpdateUser(int actorId, int userId, int roleId, int statusId, int loginStatusId, bool isDemo,
|
||||
public static void UpdateUser(int actorId, int userId, int roleId, int statusId, string subscriberNumber, int loginStatusId, bool isDemo,
|
||||
bool isPeer, string comments, string firstName, string lastName, string email, string secondaryEmail,
|
||||
string address, string city, string country, string state, string zip,
|
||||
string primaryPhone, string secondaryPhone, string fax, string instantMessenger, bool htmlMail,
|
||||
|
@ -255,6 +256,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
new SqlParameter("@ActorId", actorId),
|
||||
new SqlParameter("@RoleID", roleId),
|
||||
new SqlParameter("@StatusId", statusId),
|
||||
new SqlParameter("@SubscriberNumber", subscriberNumber),
|
||||
new SqlParameter("@LoginStatusId", loginStatusId),
|
||||
new SqlParameter("@UserID", userId),
|
||||
new SqlParameter("@IsDemo", isDemo),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue