Table of Contents

Interface IUsersWebService

Namespace
SunamoInterfaces.Interfaces
Assembly
SunamoInterfaces.dll

Interface for user web service operations.

public interface IUsersWebService
Extension Methods

Methods

GetOddIndexesOfHash(string)

Gets the odd-indexed characters of the hash for the specified login.

string GetOddIndexesOfHash(string login)

Parameters

login string

The user login.

Returns

string

The odd-indexed hash characters.

IsPairLoginAndPw(string, string, out int, out string)

Verifies if the login and password pair is valid.

bool IsPairLoginAndPw(string login, string password, out int function, out string dataPhoneHash)

Parameters

login string

The user login.

password string

The user password.

function int

The function code output.

dataPhoneHash string

The phone data hash output.

Returns

bool

True if the login and password are valid; otherwise, false.

NameOfUserWithID(int)

Gets the name of the user with the specified ID.

string NameOfUserWithID(int userId)

Parameters

userId int

The user ID.

Returns

string

The user name.