Skip to content

Documentation incorrect for 13/umbraco-cms/reference/querying/imembermanager.md #7617

@MarkMcDonald

Description

@MarkMcDonald

13/umbraco-cms/reference/querying/imembermanager.md

When referring to IIdKeyMap the code examples seem to be wrong. The actual interface is as below and requires umbracoObjectType.

public interface IIdKeyMap
{
Attempt GetIdForKey(Guid key, UmbracoObjectTypes umbracoObjectType);

Attempt<int> GetIdForUdi(Udi udi);

Attempt<Udi?> GetUdiForId(int id, UmbracoObjectTypes umbracoObjectType);

Attempt<Guid> GetKeyForId(int id, UmbracoObjectTypes umbracoObjectType);

void ClearCache();

void ClearCache(int id);

void ClearCache(Guid key);

}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions