Used for testing login credentials.
A LoginResult instance containing the results of the LoginValidated action.
This method returns a LoginResult object with the LoginValidated field set to True if the specified username matches the specified password. Username is the full email address for the specified user of the domain.
e.g. user@domain.net
using System;
using svcUserAdmin;
class svcUserAdminLoginValidated
{
static void Main()
{
svcUserAdmin admin = new svcUserAdmin();
LoginResult login = admin.LoginValidated("admin@domain.net", "alskdjfhtt");
if(login.LoginValidated)
Console.WriteLine ("User credentials are valid for this domain.")
else
Console.WriteLine ("User credentials are NOT valid for this domain.")
}
svcUserAdmin Class | svcUserAdmin Namespace