Hi Geert,
I figured out that I need to address both version control and EA security. I started with the VC considering a package cannot be processed if I get one of the following: csCheckedIn, csReadOnlyVersion, csCheckedOutToAnotherUser, csCheckedOutOfflineByOther
I started testing a Package VC status with the method VersionControlGetStatus(). To make things easier, I'd like to test it against values from the enumeration EnumCheckOutStatus (see Package help page).
I cannot find this enum from EA API. So I attempted to create a similar enum but comparison with the method returned values don't work.
Has anyone successfully used the Check Out Statut enum values?
public enum EA_EnumCheckOutStatus
{
csUncontrolled = 0,
csCheckedIn = 1,
csCheckedOutToThisUser = 2,
csReadOnlyVersion = 3,
csCheckedOutToAnotherUser = 4,
csOfflineCheckedIn = 5,
csCheckedOutOfflineByUser = 6,
csCheckedOutOfflineByOther = 7,
csDeleted = 8
};