ActiveDirectoryAliases Class

Summary

Contains functionality related to managing Active Directory.
Assembly
Cake.ActiveDirectory.dll
Namespace
Cake.ActiveDirectory
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ActiveDirectoryAliases"] class Type type-node

Syntax

public static class ActiveDirectoryAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
AddUser(ICakeContext, string, string, UserSettings) void
Creates a new user in the specified active directory.
static
DeleteUser(ICakeContext, string, UserSettings) void
Deletes user in the specified active directory.
static
DisableUser(ICakeContext, string, string, UserSettings) void
Disables a user account given the specified properties.
static
FindAttributeValueByProperty(ICakeContext, string, string, string, UserSettings) string
Finds attribute value by Property Value.
static
FindByOrganizationUnit(ICakeContext, string, UserSettings) IList<UserObject>
Finds all users in an organization unit.
static
FindDistinguishedNameByProperty(ICakeContext, string, string, UserSettings) string
Finds Distinguished Name by Property Value.
static
FindUserPrincipalNameByProperty(ICakeContext, string, string, UserSettings) string
Finds User Principal Name by Property Value.
static
UpdateOrganizationUnit(ICakeContext, string, string, string, UserSettings) void
Updates a user's oraganization unit, given the specified properties.
static
UpdateUser(ICakeContext, string, string, UserSettings) void
Updates a user account given the specified properties.
static

Extension Methods

Name Value Summary
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