Class StringExtensions
- Namespace
- FoundationaLLM.Common.Extensions
- Assembly
- FoundationaLLM.Common.dll
Extends the string interface with helper methods.
public static class StringExtensions
- Inheritance
-
StringExtensions
- Inherited Members
Methods
NormalizeUserPrincipalName(string)
Converts a UPN (User Principal Name) to a string that is better suited to be used as an identifier.
public static string NormalizeUserPrincipalName(this string upn)
Parameters
upn
stringThe original UPN (User Principal Name).
Returns
- string
A string containing the normalized UPN (User Principal Name).