---
title: clsCredentials
summary: API reference for clsCredentials.
status: draft
owner: <owner>
last_reviewed: 2026-07-24
library: SAIF.Business.External.Users
reference_type: package
---

# clsCredentials

`clsCredentials` is a lightweight container for up to five credential strings associated with an external-user type or registration request.

## Purpose
- Hold the ordered credential values passed between registration, user-type, and access-group workflows.
- Expose an indexer so calling code can address credential slots by ordinal position.

## Context
- Namespace: `SAIF.Business.External.Users`*
- Assembly/package: `SAIF.BOF.Business.External.Users`

## Public members

| Member | Signature | Purpose |
| --- | --- | --- |
| `Item` | `Default Public Property Item(index As Integer) As String` | Gets or sets the indexed value exposed by this type.* |
| `New` | `Public Sub New(ParamArray values As String())` | Initializes a new instance of the clsCredentials class. |

## Behavioral notes
- The default `Item` property clamps indexes above the five-slot array to the last available slot instead of throwing an error.
- The constructor copies only the first five supplied values into the backing array.

## Constraints and usage notes
- `clsCredentials` stores exactly five credential positions; additional constructor values are ignored.
- The class is a plain helper type and does not inherit BOF persistence behavior.

> **Note:** Statements marked with `*` were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts.

## Sources
- `Business\SAIF.Business.External.Users\clsCredentials.vb`
