In part of the documentation it is mentioned that the tenant 1 is created and will be used with default.
What is the user administrator used with tenant null and tenant null?
I have a very simple question, but I do not know how to proceed. I need to identify in the user which company he belongs to (company is not a tenant) I tried using session, implementing a new class with a new property
IocManager.Register<IAbpSession, MySession>(DependencyLifeStyle.Transient);
public class MySession : IAbpSession, ITransientDependency
{
public IAbpSession _AbpSession;
public int? CurrentCompany { get; set; }
public MySession()
{
}
public int? ImpersonatorTenantId
{
get { return _AbpSession.ImpersonatorTenantId; }
}
...
However this way I can not access the properties via DI.
Also I have not seen an easy way to change the User class and always record the company which the user is logged in.
Can someone help me?
I try to enable Swagger using the example of documentation (<a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Swagger-UI-Integration">http://www.aspnetboilerplate.com/Pages/ ... ntegration</a> ), however there is no reference to the .EnableSwagger in HttpConfiguration.
Erro 1 'System.Web.Http.HttpConfiguration' does not contain a definition for 'EnableSwagger' and no extension method 'EnableSwagger' accepting a first argument of type 'System.Web.Http.HttpConfiguration' could be found (are you missing a using directive or an assembly reference?) XXXXXX\F.WebApi\Api\FWebApiModule.cs 31 64 F.WebApi
What can it be?
Doubts regarding tenant and organization unit.
I am starting a new application, and would like to implement the zero module, I have doubts about using some tenant or organization Unit, I will explain.
A student to log in the application must enter a study group. All information are related to the study group. (At this point I assumed that the study group = tenant)
This student can invite other students to the same group (adding users to the tenant)
This student can participate in more than one study group (eg Group of Physics, Mathematics Group, Chemical Group)
However, there is another type of person accompanying the group as a moderator, where he can see and run only a few functions.
At this point that generated the confusion, one User can view the information from various tenants without having to keep changing session?
(Ex: The moderator wants to know the amount of files uploaded by study group) (Ex2: The moderator manages 2 groups (Physics and Mathematics) want to know the notes of a particular student who participates in study groups he moderates)
An important point that 95% of students only belong to one group of studies, so set the study group as a tenant.
Any suggestion? :?: :?: :?: