I am using BO XI R2 .NET SDK. From my web page I want to Enable/Disable user account in Business Objects. I know business objects will automatically lock the user if the user enters an incorrect for x times. If the user is locked or disabled, I want to enable it from my web page instead of going into BO Console. I was able to add/delete the user but not enable/disable the user.
If any one is looking to enable/disable a user using .NET SDK, here is how you do it…
Dim myInfoObjects As InfoObjects = myInfoStore.Query(myQuery)
Dim myUser As CrystalDecisions.Enterprise.Desktop.User = CType(myInfoObjects(1), CrystalDecisions.Enterprise.Desktop.User)
Dim myUserAlias As UserAlias = myUser.Aliases(1)