GetOwner

string GetOwner(this Element element)

Gets the owner of an element (workshared).

Parameters

  • elementElement

    Element to inspect.

Returns: Owner username or null if not workshared.

Example

string owner = element.GetOwner();