Interface ITenantService
Interface ITenantService
Namespace: ISynergy.Framework.Core.Abstractions.Services
Assembly: ISynergy.Framework.Core.dll
Syntax
public interface ITenantService
Properties
View SourceTenantId
Gets the tenant identifier.
Declaration
Guid TenantId { get; }
Property Value
Type | Description |
---|---|
Guid | The tenant identifier. |
UserName
Gets the name of the user.
Declaration
string UserName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the user. |
Methods
View SourceSetTenant(Guid)
Sets the tenant.
Declaration
void SetTenant(Guid tenantId)
Parameters
Type | Name | Description |
---|---|---|
Guid | tenantId | The tenant identifier. |
SetTenant(Guid, String)
Sets the tenant.
Declaration
void SetTenant(Guid tenantId, string username)
Parameters
Type | Name | Description |
---|---|---|
Guid | tenantId | The tenant identifier. |
System.String | username | The username. |