IIwbSession.cs 590 B

1234567891011121314151617181920212223
  1. using System.Collections.Generic;
  2. using System.Security.Claims;
  3. using Abp.Runtime.Session;
  4. namespace IwbZero.Runtime.Session
  5. {
  6. public interface IIwbSession : IAbpSession
  7. {
  8. string UserName { get; }
  9. string RealName { get; }
  10. string PhoneNumber { get; }
  11. string EmailAddress { get; }
  12. string AccountNo { get; }
  13. string AvatarImagePath { get; }
  14. int? UserType { get; }
  15. int? AccountType { get; }
  16. List<string> UserRoles { get; }
  17. List<string> UserRoleIds { get; }
  18. Claim GetClaim(string type);
  19. }
  20. }