Skip to content

Simple helper functions to assist with working with Active Directory.

Notifications You must be signed in to change notification settings

redvers/ad_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AD.Utils

This is a collection of simple functions that I kept having to re-write on a fairly regular basis. They are published on the offchance that they are useful.

Patches Welcome

Installation

If available in Hex, the package can be installed by adding ad_utils to your list of dependencies in mix.exs:

def deps do
  [
    {:ad_utils, "~> 0.1.0"}
  ]
end

Function List

  • AD.Utils.UserAccessControl.resolve(integer) - Converts the value from userAccountControl into an array of atoms that represent the flags that have been set.
iex(1)> AD.Utils.UserAccessControl.resolve(514)
[:ACCOUNTDISABLE, :NORMAL_ACCOUNT]

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ad_utils.

About

Simple helper functions to assist with working with Active Directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages