# OpcIdentityToken Members

> Reference: Represents the user identity token a client passes to the server to identify the user of a session.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcIdentityToken</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
</dl>

## Operators

### Implicit

<span class="api-meta">static</span>

Converts an <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.UserIdentityToken">UserIdentityToken</abbr> to an [OpcIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcidentitytoken/) object.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator OpcIdentityToken(
    UserIdentityToken userIdentityToken)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(
    userIdentityToken As UserIdentityToken) As OpcIdentityToken
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `userIdentityToken` | <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.UserIdentityToken">UserIdentityToken</abbr> | A <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.UserIdentityToken">UserIdentityToken</abbr> that represents the user identity token. |

**Returns**

[OpcIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcidentitytoken/)

An instance of the [OpcIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcidentitytoken/) class initialized from the `userIdentityToken`.
