ActiveDirectoryService.Authenticate Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Authenticate(String, String, String)

Connects to the server and returns a value that specifies if the credentials are valid.

public static ClaimsIdentity Authenticate(string domain, string username, string password)

Parameters

domain
System.String
username
System.String
password
System.String

Returns

System.Security.Claims.ClaimsIdentity

A if the credentials are valid; otherwise false.