ActiveDirectoryBase<TSettings> Class

Summary

The Active Directory command base class.
graph BT Type-->Base0["Object"] Type["ActiveDirectoryBase<TSettings>"] class Type type-node Derived0["UserCreate"]-->Type click Derived0 "/api/Cake.ActiveDirectory.Users/UserCreate" Derived1["UserUpdate"]-->Type click Derived1 "/api/Cake.ActiveDirectory.Users/UserUpdate" Derived2["UserDelete"]-->Type click Derived2 "/api/Cake.ActiveDirectory.Users/UserDelete" Derived3["UserDisable"]-->Type click Derived3 "/api/Cake.ActiveDirectory.Users/UserDisable" Derived4["UserFind"]-->Type click Derived4 "/api/Cake.ActiveDirectory.Users/UserFind"

Syntax

public abstract class ActiveDirectoryBase<TSettings> where TSettings : ActiveDirectorySettings

Type Parameters

Name Description
TSettings

Constructors

Name Summary
ActiveDirectoryBase(IADOperator) Intializes a new instance of the ActiveDirectoryBase<TSettings> class;

Methods

Name Value Summary
AddSettingsToUser(UserObject, UserSettings) UserObject
Adds user settings to the User Object.

Extension Methods

Name Value Summary
Dump<ActiveDirectoryBase<TSettings>>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ActiveDirectoryBase<TSettings>>(ActiveDirectoryBase<TSettings>[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ActiveDirectoryBase<TSettings>>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ActiveDirectoryBase<TSettings>>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<ActiveDirectoryBase<TSettings>>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ActiveDirectoryBase<TSettings>>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin