Click or drag to resize

ExtensionMethodsGetFullName Method

Gets the full name of the user entity.

Namespace:  SanteDB.Core.Model
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public static string GetFullName(
	this UserEntity entity,
	Guid nameUseKey
)

Parameters

entity
Type: SanteDB.Core.Model.EntitiesUserEntity
The user entity.
nameUseKey
Type: SystemGuid
The name use key.

Return Value

Type: String
Returns the full name of the user entity.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UserEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionIf the entity is null.
See Also