Table of Contents

Class ServiceIdentity

Namespace
InSite.Application
Assembly
Shift.Sdk.dll
public class ServiceIdentity : IPrincipal, IIdentity
Inheritance
ServiceIdentity
Implements
Inherited Members
Extension Methods

Constructors

ServiceIdentity()

public ServiceIdentity()

Properties

AuthenticationType

public string AuthenticationType { get; }

Property Value

string

Identity

public IIdentity Identity { get; }

Property Value

IIdentity

IsAuthenticated

public bool IsAuthenticated { get; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Organization

public Guid Organization { get; set; }

Property Value

Guid

User

public Guid User { get; set; }

Property Value

Guid

Methods

IsInRole(string)

public bool IsInRole(string role)

Parameters

role string

Returns

bool