Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

What is the value of User.MaxEmailAddressLength #720


User avatar
0
sampath created

Hi, Can you tell me how to find out the value of 'User.MaxEmailAddressLength' ? I tried it by using re-sharper but unable to navigate.Could you tell me why? Thanks.

[Required]
        [EmailAddress]
        [StringLength(User.MaxEmailAddressLength)]
        public string EmailAddress { get; set; }

4 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    See <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/blob/master/src/Abp.Zero/Authorization/Users/AbpUser.cs#L49">https://github.com/aspnetboilerplate/mo ... ser.cs#L49</a>

  • User Avatar
    0
    sampath created

    Thanks a lot.But could you tell me why re-sharper unable to navigate that file ? Do I need to do something else ?

  • User Avatar
    0
    hikalkan created
    Support Team

    It may not find. I don't know.

  • User Avatar
    0
    sampath created

    Hmm... :( Anyway Thanks :)