Gets a contact directory from local cache when working offline.
Namespace: ININ.IceLib.DirectoriesAssembly: ININ.IceLib.Directories (in ININ.IceLib.Directories.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public static ReadOnlyCollection<ContactEntry> GetCachedDirectory( string userId, string icServer, string directoryMetadataId ) |
Visual Basic |
---|
Public Shared Function GetCachedDirectory ( _ userId As String, _ icServer As String, _ directoryMetadataId As String _ ) As ReadOnlyCollection(Of ContactEntry) |
Parameters
- userId
- Type: System..::..String
The ID of the user for which the directory was cached.
- icServer
- Type: System..::..String
The name of the IC server to which the directory belongs.
- directoryMetadataId
- Type: System..::..String
The directory metadata ID. (DirectoryMetaData.Id)
Return Value
A list of contact entries.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | A parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentException | A parameter has an invalid value. |
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.
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.