Hi Hassan
If you look at the length of the userId EDT it is 8 long. However the sam account name in the AD needs to be less than 20 long which leaves us a bit of gap.
I have done a small test where I manipulated the ad alias to be longer than 8 and it just cuts it of.
I think it will work because authentication will use the SID etc to verify the account. You probably will just have some places that the username will be cut off to 8 characters.
I currently do not have setup to do a full test :)
Kind regards,
Koen