biuan SAP® BUSINESS ONE SDK
DTW Administration / Setup / General / Users
API Users
Users Object

Description

Users is a business object that represents the users table of the SAP Business One application. The users table includes the users list, login details, and authorizations.

This object enables you to:

  • Add users to the users list.
  • Retrieve user's details by its key.
  • Update user's details.
  • Remove users from the users list.
  • Save the object in XML format.

Source table: OUSR.

Object Model

Remarks

Mandatory fields in SAP Business One: UserCode and UserPassword.

To display the form in the application:

  • Select Administration --> Setup --> General --> Users.

See Also

SAP® B1 DI-API C# definition

public class UsersClass : IUsers, Users { public virtual int Branch { get; set; } public virtual DataBrowser Browser { get; } public virtual BoYesNoEnum CashLimit { get; set; } public virtual string Defaults { get; set; } public virtual int Department { get; set; } public virtual string eMail { get; set; } public virtual string FaxNumber { get; set; } public virtual BoUserGroup Group { get; } public virtual int InternalKey { get; } public virtual DateTime LastLoginTime { get; } public virtual DateTime LastLogoutDate { get; } public virtual DateTime LastLogoutTime { get; } public virtual string LastPasswordChangedBy { get; } public virtual DateTime LastPasswordChangeTime { get; } public virtual BoYesNoEnum Locked { get; set; } public virtual double MaxCashAmtForIncmngPayts { get; set; } public virtual double MaxDiscountGeneral { get; set; } public virtual double MaxDiscountPurchase { get; set; } public virtual double MaxDiscountSales { get; set; } public virtual string MobilePhoneNumber { get; set; } public virtual BoYesNoEnum Superuser { get; set; } public virtual SAPbobsCOM.UserActionRecord UserActionRecord { get; } public virtual SAPbobsCOM.UserBranchAssignment UserBranchAssignment { get; } public virtual string UserCode { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public virtual string UserName { get; set; } public virtual string UserPassword { get; set; } public virtual SAPbobsCOM.UserPermission UserPermission { get; } public extern UsersClass(); public virtual extern int Add(); public virtual extern int Close(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey( int InternalKey); public virtual extern int Remove(); public virtual extern void SaveToFile( string FileName); public virtual extern void SaveXML( ref string FileName); public virtual extern int Update(); }

Related information


User Action Record UserActionRecord Object· Table: USR5
Displays the access details and the actions of SAP Business One users who have logged on and logged off with the SAP Business One client or the DI API. Source table: USR5.
   Parent: Users Users Object· Table: OUSR

User Branch Assignment UserBranchAssignment Object
UserBranchAssignment Class
   Parent: Users Users Object· Table: OUSR

User Permission UserPermission Object· Table: USR3
UserPermission is a business object that enables to set the authorization of a specified user to a UserPermissionTree. Source table: USR3.
   Parent: Users Users Object· Table: OUSR

Bo User Group BoUserGroup Enumeration
Specifies the user group statuses.
   Parent: Users Users Object· Table: OUSR

User Permission Tree UserPermissionTree Object· Table: OUPT
UserPermissionTree is a business object that represents the User Authorization Form. This object enables to manage user authorization for new forms (which their FormType property is defined in UserPermissionForms object). After adding a user...


User Default Groups UserDefaultGroups Object· Table: OUDG
The UserDefaultGroups object enables to define default values (such as, default documents, default address in printed documents, windows color, and so on). These default values can be applied to specific user or group of users by setting the


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Icons by Icons8 Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates