共用方式為


SPUtility.MaxUserLogonLength Field

Contains the maximum length of the logon 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 MaxUserLogonLength As Integer
'Usage
Dim value As Integer

value = SPUtility.MaxUserLogonLength
public const int MaxUserLogonLength

Remarks

The value of this constant is 251 characters.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace