LoginResult.ErrorCode Field

Represents the reason why a logon attempt failed on a SharePoint site that is using forms-based authentication.

Web Service: AuthenticationWeb Reference: http://<Site>/_vti_bin/Authentication.asmx

Syntax

Public ErrorCode As LoginErrorCode

Dim instance As LoginResult
Dim value As LoginErrorCode

value = instance.ErrorCode

instance.ErrorCode = value
public LoginErrorCode ErrorCode

A LoginErrorCode. This field can be null.

Remarks

Either this field or the CookieName field will be null.

See Also

Reference

LoginResult Structure
LoginResult Members
Authentication Web Service