on 09-01-2008 6:32 AM
Hi,
i need for my present Company the logged user in B1,e.g. when i log in with manager/manager, in which table i can see that i logged in with this user.
Regards,
Benjamin Rosary.B
Hi..
use this code
Public Sub New()
MsgBox(oCompany.UserName)
MsgBox(oCompany.Password)
MsgBox(oCompany.CompanyDB)
End Sub
Regards...
billa 2007
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
OCompany1 = New SAPbobsCOM.Company
OCompany1.Server = ServerName
OCompany1.language = SAPbobsCOM.BoSuppLangs.ln_English
OCompany1.UseTrusted = True
OCompany1.CompanyDB = CompanyDB '"gold"
OCompany1.UserName = UserName
Here username is nothing but user log in name.as ur eg this is manager
regards,
Avijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear BENJAMIN ROSARY,
You could display the current user name by follwoing steps:
1. create a query and save it:
SELECT T0.U_NAME FROM OUSR T0 WHERE INTERNAL_K = $[USER]
2. By Formatted Search to attach above query into a User Defied Field
Then the current user name will display in the UDF.
Best Regards
Jane Jing
SAP Business One Forums team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Benjamin,
for finding which is the currently logged in user,
you can find it with DI company object.
MsgBox(oCompany.UserName)
MsgBox(oCompany.UserSignature)
where oCompany is your DI company object.
regards,
Binita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the OUSR table.
Reagrds,
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.