Skip to Content
author's profile photo Former Member
Former Member

DI: Users Object, UDTables, Transactions

hello!

we use SBO 6.50.52 SP:00 EF:04 and SDK 6.5

1) i would like to get the authorizations which a user user have. so i tried the 'users' pbject, but with

Dim vUs As SAPbobsCOM.Users

Set vUs = pCompany.GetBusinessObject(oUsers)

vUS.Browser.RecordCount

i allways have only one entry... but there are 7 users in SBO. u know what i mean? is it a bug?

2) is it true, that underlines in tablenames are not allowed? i tried to create a table called 'test_one' and that didn't work. but with 'testxxxxone' it was ok.

i also tried to use the query generator to get some data from our tables but i get following error message:

"Must declare variable '@textxxxxone'"

how could i realize it? (to include my tables for reports for example)

3) how can i add my menu entries / transactions into the authorizations? because not everybody should work with the addon for example.

thx 4 help!

Stefan Walter

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 15, 2004 at 08:59 PM

    1) GetBusinessObject only gives you a blank object to work with Users. If you want a list of users, use GetUserList on an SBObob object. See the documentation for details and a partial example. The Sample for SBObob provides more detail. From the list, you can look up the users or assign it to the browser and look through the users. The samples show how to do this with another file.

    I haven't looked at how to get authorization information.

    2) The lastest fix (EF:12) includes the ability to use underscores in table names. This was an error in early 6.5.

    Table names with "@" must be enclosed in brackets. Use [@testxxxxone].

    3) This should be available in a future version. Security in add-ons must be in your code for now.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.