LoginResult Structure

Represents the results of a logon attempt on a SharePoint site that uses forms-based authentication.

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

Syntax

<SerializableAttribute> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<XmlTypeAttribute(Namespace:="http://schemas.microsoft.com/sharepoint/soap/")> _
<DebuggerStepThroughAttribute> _
Public Structure LoginResult

Dim instance As LoginResult
[SerializableAttribute] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[XmlTypeAttribute(Namespace="http://schemas.microsoft.com/sharepoint/soap/")] 
[DebuggerStepThroughAttribute] 
public struct LoginResult

Remarks

There is no public constructor for this structure. To get a reference to a LoginResult object, call Login.

Each object of this structure has a null reference for one and only one of its two fields.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

LoginResult Members
Authentication Web Service

Other Resources

Authorization and Authentication
ASP.NET Authentication