04-08-2017, 09:31 AM
Is it possible to create private items (credential objects to be specific) through the powershell api?
The only thing i can manage is to create objects in a private folder. In that case the item itself is marked as private, and will kept marked as private, but when it is moved to a public folder then everybody can see that object. The object is not convertable to public which is a weird situation because when you do the exact same steps through the interface, the credential object is convertable to public. I think it has everything to do with the UserID on the object, which seems not to be set when using the api.
The only thing i can manage is to create objects in a private folder. In that case the item itself is marked as private, and will kept marked as private, but when it is moved to a public folder then everybody can see that object. The object is not convertable to public which is a weird situation because when you do the exact same steps through the interface, the credential object is convertable to public. I think it has everything to do with the UserID on the object, which seems not to be set when using the api.