cancel
Showing results for 
Search instead for 
Did you mean: 

Get effective user permissions - GetSystemPermission

LoHa
Active Contributor

Hi All,

I'am facing the issue that the function "GetSystemPermission" is not working anymore in SAP10.

I want to receive the effective permisssion, not the user permission, because he was added to a group.

Using this Code:

	SAPbobsCOM.SBObob oSBObob;
	SAPbobsCOM.Recordset oRecordSet;
	int f = 0;
	
	oSBObob = (SAPbobsCOM.SBObob) -?!?!?!-
	oRecordSet = oSBObob.GetSystemPermission("da","130");

	MessageBox.Show(oRecordSet.Fields.Item(0).Value.ToString() , "OK");<br>

returns a Value

1: Read/Write
2: Read only
3: Not authorized
4: Various authorizations
6: Not defined

In SAP10 the result is

It is user-permission not effective

In older Versions

this is correct.

regards

Lothar

rahuljain257
Participant
0 Kudos

Hello,

Did you found resolution on your post ?

regards

Rahul jain

View Entire Topic
ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear loh and rahuljain2570

Sorry for the delayed response.

The issue about GetSystemPermission is documented in SAP Note 3276940. This SAP Note will be released soon.

The issue is supposed to be fixed in Feature Package 2305 of SAP Business One Version 10.0. Be advised that the time-frame is subject to change without any further notice.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support