What's a unique folder id?

54 Views Asked by At

I'm setting folders in my dbms by identifying their folder.absolute name as a key. In the case such name changes, a "different new" folder is detected by my python script.

How I can choose a real and universal (the same key through different calling script) ID of that folder, which means it doesn't change when the name changes?

thanks

1

There are 1 best solutions below

0
Erik Cederstrand On

The ItemId.Id attribute of a folder in Exchange/EWS does not change just because the folder nam changes. In exchangelib, that would be some_folder.id.