In PDMWorks Enterprise, does anyone know how to determine if
the user who initiated a command has the selected file already
checked out.
My addin requires that the selected file be checked out to perform the action. I think I can handle the exception E_EDM_FILE_NOT_LOCKED_BY_YOU, but I would rather test for this condition so that an exception is not thrown.
Any help would be greatly appreciated!
Thanks,
Justin
My addin requires that the selected file be checked out to perform the action. I think I can handle the exception E_EDM_FILE_NOT_LOCKED_BY_YOU, but I would rather test for this condition so that an exception is not thrown.
Any help would be greatly appreciated!
Thanks,
Justin
I missed the GetLoggedInUser method in the IEdmUserMgr5 interface. I could determine who had the file locked, I just couldn't figure out who the current user was. I appreciate the help.