IIdentityService Interface
Namespace: PTS.Modules.Identities.Domain
Assembly: PTS.Modules.Identities.dll
Syntax
public interface IIdentityService
Methods
GetLocale(Identity)
Declaration
IdentityLocale GetLocale(Identity identy)
Parameters
| Type | Name | Description |
|---|---|---|
| Identity | identy |
Returns
| Type | Description |
|---|---|
| IdentityLocale |
SetLocale(Identity, LanguageCode, CurrencyCode, CountryCode, DateFormat, TimeZoneCode)
Declaration
IdentityLocale SetLocale(Identity identity, LanguageCode language, CurrencyCode currency, CountryCode country, DateFormat dateFormat, TimeZoneCode timeZone)
Parameters
| Type | Name | Description |
|---|---|---|
| Identity | identity | |
| LanguageCode | language | |
| CurrencyCode | currency | |
| CountryCode | country | |
| DateFormat | dateFormat | |
| TimeZoneCode | timeZone |
Returns
| Type | Description |
|---|---|
| IdentityLocale |