Partilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace