# ADSIObject

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ADSIObject/

Active Directory Service Interface Object.

- **Full name:** `MFiles.ADSIObject`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-name"></a>`name` | `string` | 1 | The name of the object. |
| <a id="f-display_name"></a>`display_name` | `string` | 2 | The display name of the object. |
| <a id="f-schema_class"></a>`schema_class` | `string` | 3 | The name of the object's schema class. |
| <a id="f-guid"></a>`guid` | `string` | 4 | The GUID of the object as stored in the underlying directory store. |
| <a id="f-path"></a>`path` | `string` | 5 | The object's ADsPath that uniquely identifies this object from all others. |
| <a id="f-parent_path"></a>`parent_path` | `string` | 6 | The ADsPath string for the parent of the object. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCWebAccessAdmin.CreateVirtualDirectory](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWebAccessAdmin/CreateVirtualDirectory/index.md): Creates an IIS virtual directory for M-Files Web under an existing web site.
- [IRPCWebAccessAdmin.CreateWebSite](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWebAccessAdmin/CreateWebSite/index.md): Creates a new IIS web site for M-Files Web.
- [IRPCWebAccessAdmin.QueryADSIObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWebAccessAdmin/QueryADSIObjects/index.md): Lists the child objects of an IIS (ADSI) path on the server computer, for example its web sites.

<a id="used-in-fields"></a>

## Used in fields

- [`QueryADSIObjectsResponse.objects`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWebAccessAdmin/QueryADSIObjects/index.md#response): ADSI objects.
- [`CreateWebSiteResponse.web_site`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWebAccessAdmin/CreateWebSite/index.md#response): The created web site.
- [`CreateVirtualDirectoryResponse.virtual_dir`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWebAccessAdmin/CreateVirtualDirectory/index.md#response): The created virtual directory.
