KitchenDraw SDK 2
Show / Hide Table of Contents

Method SetCurrentUser

SetCurrentUser(string, string)

Sets the KitchenDraw current user.

Declaration
public void SetCurrentUser(string identifier, string password)
Parameters
Type Name Description
string identifier

Identifier of a user to set.

string password

Password of a user to set. Pass an empty string for a user with no password.

Remarks

Does the same as the "User Identification" dialog box does when KitchenDraw is launched if there are multiple registered users or a single user has a password.

This is useful for example during the development of a standalone application using SDK functions that need specific rights such as the configuration of users, sites, suppliers, etc. that require administrator rights. This function can also be used during the development of a user authentication dialog box alternative to that of KitchenDraw.

In this article
Back to top Generated by DocFX