I have an ArcSDE geodatabase with different versions for each user.

How can I list each version using ArcPy?

1 Answer 1


There is a function on arcpy called ListVersions. Here's online help for it.

    >>> print (arcpy.ListVersions('bigiron.sde'))
    [u'BILLY.VersionOne', u'JOE.2B8E86', u'S.DEFAULT']

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.