Documentation
¶
Index ¶
Constants ¶
View Source
const ( // LDAP is the scheme of the LDAP namespace provider. LDAP = "LDAP" // WinNT is the scheme of the WinNT namespace provider. WinNT = "WinNT" // IIS is the scheme of the IIS namespace provider. IIS = "IIS" // GC is the scheme of the GC namespace provider. GC = "GC" )
Variables ¶
View Source
var ( // ErrFragmentNotPermitted is returned when an attempt is made to parse a // path that has a URL fragment. URL fragments are not permitted in ADS paths. ErrFragmentNotPermitted = errors.New("The URL contains a fragment, which is not permitted within Active Directory paths.") // ErrUserInfoNotPermitted is returned when an attempt is made to parse a // path that has a user information section. User info cannot be specified in // ADS paths. ErrUserInfoNotPermitted = errors.New("The URL contains a username or password, which is not permitted within Active Directory paths.") )
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path struct { // Scheme indicates the type of namespace provider used to access the path. // It is sometimes also referred to as the protocol or as the ProgID. // // It is important to note that many namespace providers require a // case-sensitive match of the scheme. Scheme string // Host may be the computer, domain, or nothing for serverless binding. It may // be in the form "host" or "host:port". Host string // Path is the address of the resource within the namespace. The rules for its // interpretation vary between schemes. Path string }
Path represents the location of an Active Directory Services object.
Paths are commonly represented in the form of a URL.
Click to show internal directories.
Click to hide internal directories.