getting the owner name of a specific image
Posted: Tue Jun 14, 2011 12:29 pm
Hi,I'm trying to retrieve the owner's ome ID (or full name) of a specific image.
from my python code,
I retrieve an image object (::omero::model::Image).
from this, I want to retrieve the owner's ome ID (not id number).
i could get the iid by
it gives me just like 303L.
could you tell me how to get the ID (such as 'demo' or 'bk')?
and I would also appreciate if you can tell me how to get the Project and Dataset name (not id number) as well.
Best,
BK
from my python code,
I retrieve an image object (::omero::model::Image).
from this, I want to retrieve the owner's ome ID (not id number).
i could get the iid by
- Code: Select all
img.getDetails().getOwner().getId().getValue()
it gives me just like 303L.
could you tell me how to get the ID (such as 'demo' or 'bk')?
and I would also appreciate if you can tell me how to get the Project and Dataset name (not id number) as well.
Best,
BK