Class Appli.User
Represents an account of KitchenDraw user.
Implements
Inherited Members
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Appli.User : IEquatable<Appli.User>
Remarks
The user account usually holds a set of access rights for a particular user as well as some reference information used, in particular, for filling generated documentes.
Some fields can be read only when the current user is an administrator. If you use KDS.SDK2.DLL, please use the SetCurrentUser(string, string) method before querying/modifying the information.
Properties
Name | Description |
---|---|
AddressLine1 | The first line of the user's address. |
AddressLine2 | The second line of the user's address. |
AddressLine3 | The third line of the user's address. |
CanArchiveScenes | Indicates whether the user has the permission to archive scenes. |
CanChangePrices | Indicates whether the user has the permission to change prices in a scene (in a line-per-line fashion). |
CanDistributeRebatesInScene | Indicates whether the user has the permission to distribute rebates in a scene. |
CanEditComplementaryCatalogs | Indicates whether the user has permission to create or edit complementary catalogs. |
CanSetupDocuments | Indicates whether the user has the permission to alter the application's document generation settings. |
CanValidateCustomerOrders | Indicates whether the user has the permission to validate client orders. |
CanValidateSupplierOrders | Indicates whether the user has the permission to manage orders to suppliers. |
CanVisualizeGenerateManagementDocs | Indicates whether the user has access to generation and visualization of management documents. |
City | City of the user. |
CountryCode | Country code of the user. |
CountryId | Identifier of the country of the user. |
CountryLabel | Country label of the user. |
DiscountPermission | Discount permission level of the user. |
Email address of the user. |
|
FirstName | First name of the user (8 characters max). |
HasAccessToAllScenes | Indicates whether the user has the permission to open scenes belonging to other users. |
HasAccessToCommercialMargin | Indicates whether the user has access to a commercial margin information. |
HasAccessToFinancialMargin | Indicates whether the user has access to the financial margin information. |
HasAccessToPriceDetails | Indicates whether the user has access to price details. |
HasAdministratorRights | Indicates whether the user has administrator rights (which means access to all the features of the application without any restrictions). |
Identifier | Unique identifier of the user. |
Initials | Initials of the user (2 characters max) |
Name | Name of the user (8 characters max). |
Password | Password of the user. |
Phone | The user's telephone number. |
Rank | Rank of the user in the users list. |
Site | Site to which the user belongs. |
TitleCode | Title code of the user. |
TitleId | Identitier of the title of the user. |
TitleLabel | Title label of the user. |
ZipCode | Postcode of the user. |
Methods
Name | Description |
---|---|
Equals(object) | Determines whether passed object has the same type and value as this one. |
GetHashCode() | Provides a numeric value that is used to identify an object in hash-based algorithms. |
GetInfo(int) | Gets a value from arbitrary datafield specified by the infoType parameter. |
GetInfoAsBool(int) | Gets a value from arbitrary datafield specified by the infoType parameter. |
GetInfoAsDouble(int) | Gets a value from arbitrary datafield specified by the infoType parameter. |
GetInfoAsInt(int) | Gets a value from arbitrary datafield specified by the infoType parameter. |
SetInfo(int, bool) | Writes the value to the arbitrary datafield specified by the infoType parameter. |
SetInfo(int, double) | Writes the value to the arbitrary datafield specified by the infoType parameter. |
SetInfo(int, int) | Writes the value to the arbitrary datafield specified by the infoType parameter. |
SetInfo(int, string) | Writes the value to the arbitrary datafield specified by the infoType parameter. |
ToString() | Returns a string that represents the current object. |
TrySetInfo(int, bool) | Writes the value to the arbitrary datafield specified by the infoType parameter. |
TrySetInfo(int, double) | Writes the value to the arbitrary datafield specified by the infoType parameter. |
TrySetInfo(int, int) | Writes the value to the arbitrary datafield specified by the infoType parameter. |
TrySetInfo(int, string) | Writes the value to the arbitrary datafield specified by the infoType parameter. |
Operators
Name | Description |
---|---|
operator ==(User, User) | Determines whether two specified instances have the same value. |
operator !=(User, User) | Determines whether two specified instances have different values. |