We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc806f4 commit 2158a78Copy full SHA for 2158a78
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Authorization/Users/User.cs
@@ -1,4 +1,5 @@
1
using System;
2
+using System.Collections.Generic;
3
using Abp.Authorization.Users;
4
using Abp.Extensions;
5
@@ -21,7 +22,8 @@ public static User CreateTenantAdminUser(int tenantId, string emailAddress)
21
22
UserName = AdminUserName,
23
Name = AdminUserName,
24
Surname = AdminUserName,
- EmailAddress = emailAddress
25
+ EmailAddress = emailAddress,
26
+ Roles = new List<UserRole>()
27
};
28
29
user.SetNormalizedNames();
0 commit comments