Table of Contents

Class UserWS

Namespace
PHCWS
Assembly
PHCWS.dll

User Services (UserVO).

[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class UserWS : PHCTypedWS<UserVO>, IComponent, IDisposable, IServiceProvider
Inheritance
UserWS

Methods

getDuplicatedEmails()

Get the users with duplicate emails

[WebMethod]
public PHCResult getDuplicatedEmails()

Returns

PHCResult

getLog(string, DateTime, DateTime)

Query the data recorded in the user log.

[WebMethod]
public PHCResult getLog(string usercode, DateTime dataInicial, DateTime dataFinal)

Parameters

Nome Tipo Descrição
usercode string

Identifies the name for user login for which we want to see the log, corresponds to the field ousrinis of FxlogAuditVO.

dataInicial DateTime

Date from which we want to refer to the log.

dataFinal DateTime

Date by which we want to refer to the log.

Returns

PHCResult

PHCResult containing alist of FxlogAuditVO, or error messages produced by this process.

Remarks

Consult the activities log usercode, during the period specified by the parameters dataInicial and dataFinal.

listOfSMTPProviders()

Returns a list of providers SMTP servers based on pre-defined values and values already entered in users

[WebMethod]
public PHCResult listOfSMTPProviders()

Returns

PHCResult

PHCResult.

setSelectedLanguage(string)

Guarda a linguagem seleccionada.

[WebMethod]
public PHCResult setSelectedLanguage(string language)

Parameters

Nome Tipo Descrição
language string

Corresponde à linguagem seleccionada.

Se esta não for encontrada, por defeito é seleccionada a linguagem "pt_PT".

Returns

PHCResult

PHCResult empty that means success, or error messages.