modulepackage
0.0.0-20240917173553-4548be3c5fae
Repository: https://github.com/go-adsi/adsi.git
Documentation: pkg.go.dev
# README
go-adsi (Go language bindings for ADSI) 
This package provides access to the Active Directory Service Interfaces that are available through the Windows component object model API. This package should compile on any platform but implementations are only provided for Windows.
The adsi
package provides high level and idiomatic access to ADSI. It in turn
relies on the api
package, which handles the low level details of COM binding
and is analogous to Go's syscall
package.
This project is a work in progress. Only a small subset of the available interfaces have been implemented.
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
Package comclsid provides component object model class identifiers for active directory domain services.
Package comiid provides component object model interface identifiers for active directory domain services.
# Functions
NewClient creates a new ADSI client.
NewComputer returns a computer that manages the given COM interface.
NewContainer returns a container that manages the given COM interface.
NewGroup returns a group that manages the given COM interface.
NewMembers returns a membership that manages the given COM interface.
NewNameTranslator creates a new NameTranslator bound to server.
NewObject returns an object that manages the given COM interface.
NewObjectIter returns an object iterator that provides access to the objects contained in the given enumerator.
NewRemoteClient creates a new ADSI client on a remote server.
NewUser returns a user that manages the given COM interface.
Open opens an ADSI object with the given path.
OpenComputer opens an ADSI computer with the given path.
OpenComputerSC opens an ADSI computer with the given path.
OpenContainer opens an ADSI container with the given path.
OpenContainerSC opens an ADSI container with the given path.
OpenSC opens an ADSI object with the given path.
# Variables
ErrClosed is returned from calls to a service or interface in the event that the Close() function has already been called.
ErrInvalidGUID is returned when a given value cannot be interpreted as a globally unique identifier.
ErrMultiDimArrayAttribute is returned when an attribute contains more than one dimension in its array of values.
ErrNonArrayAttribute is returned when a given attribute cannot be converted to a safe array.
ErrNonDispatchVariant is returned when an attempt is made to cast an ole.VARIANT to an ole.IDispatch type, but the VARIANT is of some other This might happen, for example, when an iterator is interrogating the members of an IEnumVARIANT in an attempt to convert them into an expected type.
ErrNonVariantArrayAttribute is returned when the array members of a given attribute are not variants.
# Structs
Client provides access to Active Directory Service Interfaces for any namespace supported by a local or remote COM server.
Computer provides access to Active Directory computers.
Container provides access to Active Directory container objects.
Group provides access to Active Directory groups.
Members provides access to group membership.
NameTranslator provides active directory name translation services via the IADsNameTranslate interface.
Object provides access to Active Directory objects.
ObjectIter provides an iterator for a set of objects.
User provides access to Active Directory users.