4648
This commit is contained in:
@@ -25,7 +25,7 @@ namespace raven_integration
|
||||
D1.password = Util.Uniquify("PASSWORD");
|
||||
D1.roles = 0;//norole
|
||||
|
||||
D1.userType = 3;//non scheduleable
|
||||
D1.userType = 2;// not service type user
|
||||
|
||||
//Required by form custom rules
|
||||
D1.notes = "notes";
|
||||
@@ -46,7 +46,7 @@ namespace raven_integration
|
||||
D2.password = Util.Uniquify("PASSWORD");
|
||||
D2.roles = 0;//norole
|
||||
|
||||
D2.userType = 3;//non scheduleable
|
||||
D2.userType = 2;// not service type user
|
||||
|
||||
ApiResponse R2 = await Util.PostAsync("User", await Util.GetTokenAsync("superuser", "l3tm3in"), D2.ToString());
|
||||
Util.ValidateDataReturnResponseOk(R2);
|
||||
@@ -137,7 +137,7 @@ namespace raven_integration
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
|
||||
D.userType = 3;//non scheduleable
|
||||
D.userType = 2;// not service type user
|
||||
|
||||
ApiResponse R = await Util.PostAsync("User", await Util.GetTokenAsync("superuser", "l3tm3in"), D.ToString());
|
||||
Util.ValidateDataReturnResponseOk(R);
|
||||
@@ -172,7 +172,7 @@ namespace raven_integration
|
||||
d.password = Util.Uniquify("PASSWORD");
|
||||
d.roles = 0;//norole
|
||||
|
||||
d.userType = 3;//non scheduleable
|
||||
d.userType = 2;// not service type user
|
||||
//Required by form custom rules
|
||||
d.notes = "notes";
|
||||
d.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
@@ -227,7 +227,7 @@ namespace raven_integration
|
||||
d.login = UniqueLogin;
|
||||
d.password = Util.Uniquify("PASSWORD");
|
||||
d.roles = 0;//norole
|
||||
d.userType = 3;//non scheduleable
|
||||
d.userType = 2;// not service type user
|
||||
|
||||
ApiResponse a = await Util.PostAsync("User", await Util.GetTokenAsync("superuser", "l3tm3in"), d.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
@@ -243,7 +243,7 @@ namespace raven_integration
|
||||
d.login = UniqueLogin;
|
||||
d.password = Util.Uniquify("PASSWORD");
|
||||
d.roles = 0;//norole
|
||||
d.userType = 3;//non scheduleable
|
||||
d.userType = 2;// not service type user
|
||||
|
||||
a = await Util.PostAsync("User", await Util.GetTokenAsync("superuser", "l3tm3in"), d.ToString());
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace raven_integration
|
||||
D1.login = Util.Uniquify("LOGIN");
|
||||
D1.password = Util.Uniquify("PASSWORD");
|
||||
D1.roles = 0;//norole
|
||||
D1.userType = 3;//non scheduleable
|
||||
D1.userType = 2;// not service type user
|
||||
D1.notes = "notes";
|
||||
D1.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user