larry.mcdonald

Programmatically checking in Event Frames

Discussion created by larry.mcdonald on Nov 27, 2013
Latest reply on Nov 27, 2013 by larry.mcdonald

We are developing feature to have an event frame created programmatically.  The following code seems to work only if the Admin security permission is set on the AF Server object in the Server security group.  Even if the Event Frame security group on the AF Database object had Admin privilege, it would not work.

 

var eventFramesToCheckIn = new List<IAFTransactable>();

 

eventFramesToCheckIn.Add(myEventFrame);
db.PISystem.CheckIn(eventFramesToCheckIn);

 

What is the correct way to programmatically create event frames (and what is the least amount of privileges needed) so that a user can create an event frame without having to be an AF Server Admin?

 

Currently using AF SDK: 2.5.2.5396 and AF Server: 2.5.0.5039

Outcomes