ewm sdk server how to get team area in owned by field
I am developing a pugin of ewm using the server side sdk.
When I create or edit a stream I would like to get the team area in the owned by field.
this is because i need to check the naming convention of the stream name, the team area that is in the owned by field must appear in the stream name.
I tried using IWrkspaceSearchCreiteria but I don't think this is the right solution
I created an advisor as suggested in the link:
but I am still unable to find this team area.