TestimoX

API Reference

Class

LdapToolOffsetCursor

Namespace ADPlayground.Helpers
Assembly ADPlayground
Modifiers static

Helpers for simple opaque cursors used by LDAP paging tools.

Inheritance

  • Object
  • LdapToolOffsetCursor

Methods

public static String Encode(Int64 offset) #
Returns: String

Encodes an offset as an opaque cursor (base64 of int64). Returns empty string for offsets less than or equal to 0.

Parameters

offset System.Int64 requiredposition: 0
public static Boolean TryDecode(String cursor, out Int64 offset) #
Returns: Boolean

Attempts to decode an offset cursor. Supports: - base64-encoded 8-byte int64 - base64-encoded 4-byte int32 - plain numeric strings - empty/null (treated as offset 0)

Parameters

cursor System.String requiredposition: 0
offset System.Int64@ requiredposition: 1