ActiveDirectoryDaemon Class

Namespace:
Weavy.Core.Plugins
Assembly:
Weavy.Core.dll

Syncs user and roles with Active Directory.

[Guid("69ADF35D-1B87-4363-BB23-8993CBFDB95A")]
[Plugin(Icon = "account-network", Name = "Active directory sync", Description = "Syncs users and roles with Active Directory.")]
public class ActiveDirectoryDaemon : Daemon, IDaemon, IFunction, IPlugin, IExtension, IExpando, IDynamicMetaObjectProvider, IEnumerable>, IEnumerable, ICloneable, IValidatableObject
Inheritance:
System.Object → ExpandoPluginFunctionDaemonActiveDirectoryDaemon
Attributes:
System.Runtime.InteropServices.GuidAttribute, PluginAttribute
Implements:
IDaemon, IFunction, IPlugin, IExtension, IExpando

Constructors

ActiveDirectoryDaemon()

Properties

Domain Gets or sets the name of the domain or server.
Password Gets or sets the password to use when authenticating against the directory.
SyncRoles Gets or sets a value indicating whether to include roles when syncing.
Username Gets or sets the username to use when authenticating against the directory.

Methods

Run(CancellationToken, String[]) Imports user and role data from Active Directory.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(Object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.