SPUtility.MaxUserAccountNameLength field
Contains the maximum length of the account name of the user.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Const MaxUserAccountNameLength As Integer
'Usage
Dim value As Integer
value = SPUtility.MaxUserAccountNameLength
public const int MaxUserAccountNameLength
Remarks
The value of this constant is 249 characters.