Gets the values for the named attribute.

Namespace: ININ.IceLib.People
Assembly: ININ.IceLib.People (in ININ.IceLib.People.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public string GetAttributeAsString(
	string attributeName
)
Visual Basic
Public Function GetAttributeAsString ( _
	attributeName As String _
) As String

Parameters

attributeName
Type: System..::..String
Name of attribute to get.

Return Value

String value for that attribute. If this is a multi-value attribute, then the first value in the array is returned. If there is no value associated with this attribute then an empty string is returned.

Remarks

Note
Accessing this property before a watch is started which includes this property raises a NotCachedException. A watch must be started first. For more information on watches see How Watches Work.

Exceptions

ExceptionCondition
ININ.IceLib..::..NotCachedExceptionThe associated attribute is not being watched.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also