IsOwnedByCurrentUser
bool IsOwnedByCurrentUser(this Workset workset, Document doc)Checks if the workset is owned by the current user.
Parameters
- worksetWorkset
Workset to inspect.
- docDocument
Host workshared document.
Returns: True if owned by current user; otherwise false.
Example
bool mine = ws.IsOwnedByCurrentUser(doc);