apidocs / com.srv4pos.server.api.seller / UserService

UserService

class UserService

Constructs the service.

Parameters

url - of the server

credentials - to work with the server

transport - to know the method to reach the server

Constructors

<init>

UserService(url: URL, credentials: Credentials?, transport: Transport)

Constructs the service.

Functions

changePassword

fun changePassword(info: UserChangePasswordInfo, username: String): Unit

create

fun create(userRegistrationInfo: UserRegistrationInfo): String?

Creates an user.

get

operator fun get(id: String): UserInfo

Returns an user.

list

fun list(firstResult: Int?, maxResults: Int?, like: String?): Collection<UserShortInfo>

Returns list of users.

listMinified

fun listMinified(firstResult: Int?, maxResults: Int?, like: String?): Collection<UserShortInfo>

Returns list of users.

put

fun put(id: String, userInfo: UserInfo): Unit

Modifies an user.