# IGH_DocumentOwner interface

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public interface IGH_DocumentOwner
```

Implement this interface if you want to be the owner assigned to a document in the Grasshopper documentserver.

**Derived types:** [GH_Cluster](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-cluster.md), [GH_Cluster_OBSOLETE](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.special.gh-cluster-obsolete.md)

## Methods

- [DocumentClosed](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-documentowner/documentclosed.md): This method will be called whenever the owner document was closed.
- [DocumentModified](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-documentowner/documentmodified.md): This method will be called whenever the owned document is modified.
- [OwnerDocument](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-documentowner/ownerdocument.md): If the IGH_DocumentOwner is part of a GH_Document of its own, this function will return that document.
