Table of Contents

Class ServerExtensions

Namespace
StockSharp.Server.Core
Assembly
StockSharp.Server.Core.dll

Extensions.

public static class ServerExtensions
Inheritance
ServerExtensions
Inherited Members

Methods

ToCredentials(UserInfoMessage)

public static PermissionCredentials ToCredentials(this UserInfoMessage message)

Parameters

message UserInfoMessage

The message contains information about user.

Returns

PermissionCredentials

Credentials with set of permissions.

ToUserInfoMessage(PermissionCredentials, bool)

public static UserInfoMessage ToUserInfoMessage(this PermissionCredentials credentials, bool copyPassword)

Parameters

credentials PermissionCredentials

Credentials with set of permissions.

copyPassword bool

Copy Ecng.ComponentModel.ServerCredentials.Password value.

Returns

UserInfoMessage

The message contains information about user.