Generated by DocFX

Interface IProfile

Interface IProfile

Namespace: ISynergy.Framework.Core.Abstractions
Assembly: ISynergy.Framework.Core.dll
Syntax
public interface IProfile

Properties

View Source

AccountDescription

Gets the account description.

Declaration
string AccountDescription { get; }
Property Value
Type Description
System.String

The account description.

View Source

AccountId

Gets the account identifier.

Declaration
Guid AccountId { get; }
Property Value
Type Description
Guid

The account identifier.

View Source

CountryCode

Gets the country ISO2 code.

Declaration
string CountryCode { get; }
Property Value
Type Description
System.String
View Source

Email

Gets the email.

Declaration
string Email { get; }
Property Value
Type Description
System.String

The email.

View Source

Expiration

Gets the expiration.

Declaration
DateTime Expiration { get; }
Property Value
Type Description
DateTime

The expiration.

View Source

LicenseExpration

Gets the license expration.

Declaration
DateTimeOffset LicenseExpration { get; }
Property Value
Type Description
DateTimeOffset

The license expration.

View Source

LicenseUsers

Gets the license users.

Declaration
int LicenseUsers { get; }
Property Value
Type Description
System.Int32

The license users.

View Source

Modules

Gets the modules.

Declaration
List<string> Modules { get; }
Property Value
Type Description
List<System.String>

The modules.

View Source

Roles

Gets the roles.

Declaration
List<string> Roles { get; }
Property Value
Type Description
List<System.String>

The roles.

View Source

TimeZoneId

Gets the time zone identifier.

Declaration
string TimeZoneId { get; }
Property Value
Type Description
System.String

The time zone identifier.

View Source

Token

Gets the token.

Declaration
Token Token { get; }
Property Value
Type Description
Token

The token.

View Source

UserId

Gets the user identifier.

Declaration
Guid UserId { get; }
Property Value
Type Description
Guid

The user identifier.

View Source

Username

Gets the username.

Declaration
string Username { get; }
Property Value
Type Description
System.String

The username.

Methods

View Source

IsAuthenticated()

Gets a value indicating whether this instance is authenticated.

Declaration
bool IsAuthenticated()
Returns
Type Description
System.Boolean

true if this instance is authenticated; otherwise, false.

View Source

IsInRole(String)

Determines whether [is in role] [the specified role].

Declaration
bool IsInRole(string role)
Parameters
Type Name Description
System.String role

The role.

Returns
Type Description
System.Boolean

true if [is in role] [the specified role]; otherwise, false.

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)