Table of Contents

Interface IRoleContentElement

Namespace
BiExcellence.OpenBi.Api.Roles
Assembly
BiExcellence.OpenBi.Api.Client.dll

A standalone role content element (a page/text/file), independent of where it is placed in any role's content tree.

public interface IRoleContentElement

Properties

Changed

When the element was last changed.

DateTimeOffset Changed { get; init; }

Property Value

DateTimeOffset

Content

The element's content: its text, or for a file element the path of the stored file relative to the server's content root.

string? Content { get; init; }

Property Value

string

Created

When the element was created.

DateTimeOffset Created { get; init; }

Property Value

DateTimeOffset

Extension

The file extension of a file element, without the leading dot.

string? Extension { get; init; }

Property Value

string

Filename

Deprecated: the legacy file name or path of a file element; Content is used first.

string? Filename { get; init; }

Property Value

string

Id

The element id (a GUID); generated by the server when left empty on create.

string? Id { get; init; }

Property Value

string

Language

The language of this version of the element; an empty string for the default language. An element exists once per language under the same Id.

string Language { get; init; }

Property Value

string

Name

The display name of the element.

string? Name { get; init; }

Property Value

string

Type

The element's type, as the numeric code of the legacy content type (for example 26 for a file).

int Type { get; init; }

Property Value

int

UserId

The username of whoever created or last saved the element; filled with the caller's name when left empty.

string? UserId { get; init; }

Property Value

string