IUserIdentifier.cs 380 B

123456789101112131415161718
  1. namespace Abp
  2. {
  3. /// <summary>
  4. /// Interface to get a user identifier.
  5. /// </summary>
  6. public interface IUserIdentifier
  7. {
  8. /// <summary>
  9. /// Tenant Id. Can be null for host users.
  10. /// </summary>
  11. int? TenantId { get; }
  12. /// <summary>
  13. /// Id of the user.
  14. /// </summary>
  15. long UserId { get; }
  16. }
  17. }