Skip to Content
0
Former Member
Apr 23, 2009 at 01:48 PM

UserRights on Object

28 Views

hi,

I would like to get the rights for an user on an object.

Like: trying-to-get-the-security-information-for-objects

Basically I do the following:

--- cut --

BoOptions.IncludeSecurity = true;

BoOptions.IncludeSecuritySpecified = true;

--- cut ---

Folder report = (Folder)infoobjects.InfoObject[0];

string reportCuid = report.CUID.ToString();

SecurityInfo2 securityInfo = report.SecurityInfo2;

--- cut ---

"securityInfo" is null all the time

I am using BO XI 3.1 with the dswsDotNetApi.

thanks for any reply.

fari