PermissionCredentials

StockSharp.Configuration.Permissions

Credentials with set of permissions.

Inherits: ServerCredentials

Constructors

PermissionCredentials
public PermissionCredentials()
permissionCredentials = PermissionCredentials()

Initializes a new instance of the PermissionCredentials.

Properties

IpRestrictions
public IEnumerable<IPAddress> IpRestrictions { get; set; }
value = permissionCredentials.IpRestrictions
permissionCredentials.IpRestrictions = value

IP address restrictions.

Permissions
public SynchronizedDictionary<UserPermissions, SynchronizedDictionary<ValueTuple<string, string, string, DateTime?>, bool>> Permissions { get; }
value = permissionCredentials.Permissions

Permission set.

Methods

Load
public override void Load(SettingsStorage storage)
permissionCredentials.Load(storage)

Loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
Save
public override void Save(SettingsStorage storage)
permissionCredentials.Save(storage)

Saves the entity's state to the specified settings storage.