> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSCredentialUser

> Information about a users credentials in a foreign system that can be bound to a SuperOffice user (associate)

Information about a users credentials in a foreign system that can be bound to a SuperOffice user (associate)

## Constructors

### NSCredentialUser()

```crmscript theme={null}
NSCredentialUser
```

Initializes a new instance of the NSCredentialUser class.

## Methods

## GetCanCreatePerson()

```crmscript theme={null}
Bool GetCanCreatePerson()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool)

**Example:**

```crmscript theme={null}
NSCredentialUser thing;
Bool canCreatePerson = thing.GetCanCreatePerson();
```

## GetColumns()

```crmscript theme={null}
String[] GetColumns()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)\[] - Columns, matching CredentialUsers.Headings.

**Example:**

```crmscript theme={null}
NSCredentialUser thing;
String[] columns = thing.GetColumns();
```

## GetDisplayValue()

```crmscript theme={null}
String GetDisplayValue()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Display value of the user.

<Note>
  This value needs to be applied to the Credential.DisplayValue field.
</Note>

**Example:**

```crmscript theme={null}
NSCredentialUser thing;
String displayValue = thing.GetDisplayValue();
```

## GetValue()

```crmscript theme={null}
String GetValue()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Identification of user in the foreign system.

<Note>
  This value needs to be applied to the Credential.Value field
</Note>

**Example:**

```crmscript theme={null}
NSCredentialUser thing;
String value = thing.GetValue();
```

## SetCanCreatePerson(Bool)

```crmscript theme={null}
Void SetCanCreatePerson(Bool canCreatePerson)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSCredentialUser thing;
Bool canCreatePerson;
thing.SetCanCreatePerson(canCreatePerson);
```

## SetColumns(String\[])

```crmscript theme={null}
Void SetColumns(String[] columns)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSCredentialUser thing;
String[] columns;
thing.SetColumns(columns);
```

## SetDisplayValue(String)

```crmscript theme={null}
Void SetDisplayValue(String displayValue)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

<Note>
  This value needs to be applied to the Credential.DisplayValue field.
</Note>

**Example:**

```crmscript theme={null}
NSCredentialUser thing;
String displayValue;
thing.SetDisplayValue(displayValue);
```

## SetValue(String)

```crmscript theme={null}
Void SetValue(String value)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

<Note>
  This value needs to be applied to the Credential.Value field
</Note>

**Example:**

```crmscript theme={null}
NSCredentialUser thing;
String value;
thing.SetValue(value);
```


## Related topics

- [NSCredentialsGroupUsers](/en/automation/crmscript/reference/CRMScript.NetServer.NSCredentialsGroupUsers.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [CredentialUser](/en/api/archive-providers/reference/credentialuser.md)
- [Find Credential Users](/en/api/reference/restful/agent/user_agent/find-credential-users.md)
- [Get Credential Users In Group](/en/api/reference/restful/agent/user_agent/get-credential-users-in-group.md)
- [Create Default User From User Type And Credential](/en/api/reference/restful/agent/user_agent/create-default-user-from-user-type-and-credential.md)
