1. IMClient

Interface IMClient

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Client for the Marketing Content Hub.

Namespace: Stylelabs.M.Sdk
Assembly: Stylelabs.M.Sdk.dll
Syntax
public interface IMClient

Properties

Assets

Contains functionality for asset operations.

Declaration
IAssetsClient Assets { get; }
Property Value
TypeDescription
IAssetsClient

Commands

Contains functionality to execute commands in M.

Declaration
ICommandsClient Commands { get; }
Property Value
TypeDescription
ICommandsClient

Cultures

Allows fetching culture information from M.

Declaration
ICultureClient Cultures { get; }
Property Value
TypeDescription
ICultureClient

DataSourceFactory

Contains functionality to create IDataSources.

Declaration
IDataSourceFactory DataSourceFactory { get; }
Property Value
TypeDescription
IDataSourceFactory

DataSources

Contains functionality to query, create and manipulate IDataSources.

Declaration
IDataSourcesClient DataSources { get; }
Property Value
TypeDescription
IDataSourcesClient

Entities

Contains functionality to query, create and manipulate IEntity instances.

Declaration
IEntitiesClient Entities { get; }
Property Value
TypeDescription
IEntitiesClient

EntityDefinitions

Contains functionality to query, create and manipulate IEntityDefinitions.

Declaration
IEntityDefinitionsClient EntityDefinitions { get; }
Property Value

EntityFactory

Contains functionality to create IEntity instances.

Declaration
IEntityFactory EntityFactory { get; }
Property Value
TypeDescription
IEntityFactory

Jobs

Contains functionality to create jobs.

Declaration
IJobsclient Jobs { get; }
Property Value
TypeDescription
IJobsclient

Logger

Contains functionality to log messages.

Declaration
ILogger Logger { get; set; }
Property Value
TypeDescription
ILogger

Notifications

Contains functionality to manage and send notifications.

Declaration
INotificationsClient Notifications { get; }
Property Value
TypeDescription
INotificationsClient

Permissions

Contains functionality to get entity permissions.

Declaration
IPermissionsClient Permissions { get; }
Property Value
TypeDescription
IPermissionsClient

Policies

Contains functionality to get and update IPolicy objects.

Declaration
IPoliciesClient Policies { get; }
Property Value
TypeDescription
IPoliciesClient

Querying

Contains functionality to query and scroll for IEntity.

Declaration
IQueryingClient Querying { get; }
Property Value
TypeDescription
IQueryingClient

Scripts

Contains functionality to execute scripts.

Declaration
IScriptsClient Scripts { get; }
Property Value
TypeDescription
IScriptsClient

Settings

Contains functionality to get setting entities.

Declaration
ISettingsClient Settings { get; }
Property Value
TypeDescription
ISettingsClient

Users

Contains functionality to get and interact with user entities.

Declaration
IUsersClient Users { get; }
Property Value
TypeDescription
IUsersClient

Methods

ImpersonateAsync(String)

Creates a new IMClient that acts on behalf of the user with the specified username. The current logger will be copied to the new client.

Declaration
Task<IMClient> ImpersonateAsync(string username)
Parameters
TypeNameDescription
System.Stringusername

The username of the user to impersonate.

Returns
TypeDescription
Task<IMClient>

A new client bound to specified user.

Exceptions
TypeCondition
ForbiddenException

When the current user is not allowed to impersonate other users.

この記事を改善するための提案がある場合は、 お知らせください!