Class SoClaimsPrincipal
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Inheritance
SoClaimsPrincipal
Assembly: SoCore.dll
Syntax
public class SoClaimsPrincipal : ClaimsPrincipal, IPrincipal
Constructors
SoClaimsPrincipal(IUserInfoService, NSIdentityClaimValues)
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public SoClaimsPrincipal(IUserInfoService userInfo, NSIdentityClaimValues nsIdentityClaimValues)
Parameters
SoClaimsPrincipal(IUserInfoService, ClaimsIdentity)
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public SoClaimsPrincipal(IUserInfoService userInfo, ClaimsIdentity claimsIdentity)
Parameters
Properties
Associate
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public string Associate { get; }
Property Value
AssociateId
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int AssociateId { get; }
Property Value
ClaimsIdentity
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public ClaimsIdentity ClaimsIdentity { get; }
Property Value
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int ContactId { get; }
Property Value
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int ContactOwnerId { get; }
Property Value
ContextIdentifier
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public string ContextIdentifier { get; }
Property Value
CountryId
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int CountryId { get; }
Property Value
EMailAddress
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public string EMailAddress { get; }
Property Value
EjAccessLevel
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public EjAccess EjAccessLevel { get; }
Property Value
EjUserId
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int EjUserId { get; }
Property Value
EjUserStatus
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public EjUserStatus EjUserStatus { get; }
Property Value
FullName
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public string FullName { get; }
Property Value
GroupId
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int GroupId { get; }
Property Value
HomeCountryId
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int HomeCountryId { get; }
Property Value
Identity
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public override IIdentity Identity { get; }
Property Value
Overrides
IsPerson
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public bool IsPerson { get; }
Property Value
PersonId
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int PersonId { get; }
Property Value
RoleDescription
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public string RoleDescription { get; }
Property Value
RoleId
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int RoleId { get; }
Property Value
RoleName
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public string RoleName { get; }
Property Value
RoleType
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public RoleType RoleType { get; }
Property Value
SecondaryGroups
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public int[] SecondaryGroups { get; }
Property Value
UserName
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public string UserName { get; }
Property Value
UserType
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public UserType UserType { get; }
Property Value
| Type |
Description |
| UserType |
|
Methods
GetLicenses()
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public HashSet<string> GetLicenses()
Returns
HasLicense(string)
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public bool HasLicense(string licenseName)
Parameters
| Type |
Name |
Description |
| string |
licenseName |
|
Returns
HasLicense(string, string)
Wrapper class around ClaimsPrincipal in order to solve certain concerns, performance, etc.
Declaration
public bool HasLicense(string moduleOwner, string moduleName)
Parameters
Returns
Implements
Extension Methods