Share via


LoginResult.ErrorCode field

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

Namespace:  WebSvcAuthentication
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
Public ErrorCode As LoginErrorCode
'Usage
Dim instance As LoginResult
Dim value As LoginErrorCode

value = instance.ErrorCode

instance.ErrorCode = value
public LoginErrorCode ErrorCode

Field value

Type: WebSvcAuthentication.LoginErrorCode
A LoginErrorCode. This field can be a null reference (Nothing in Visual Basic).

Remarks

Either this field or the CookieName field will be a null reference (Nothing in Visual Basic).

See also

Reference

LoginResult structure

LoginResult members

WebSvcAuthentication namespace