Mount-R1NamingContextBackend

SYNOPSIS

Mounts a backend on a naming context node.

SYNTAX

DbProxy

Mount-R1NamingContextBackend -dn <String> -datasource <String> -tableViews <String[]> [-schema <String>]
 [-isQuoteTableNames <Boolean>] [-isQuoteColumnNames <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]

LdapProxy

Mount-R1NamingContextBackend -dn <String> -datasource <String> -remoteBaseDn <String> [-WhatIf] [-Confirm]
 [<CommonParameters>]

Store

Mount-R1NamingContextBackend -dn <String> [-Store] [-isActive <Boolean>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Mounts a backend at the naming context node identified by its DN, so that the node presents the data held in an LDAP directory or a database.

The LdapProxy parameter set proxies an LDAP data source from a remote base DN. The DbProxy parameter set presents tables or views of a database data source, each as a content node beneath the mounted node. The Store parameter set mounts a RadiantOne Directory store, which holds its entries itself.

EXAMPLES

Example 1

Mount-R1NamingContextBackend -dn 'o=proxy' -datasource 'vds' -remoteBaseDn 'o=companydirectory'

Presents o=companydirectory of the vds data source at o=proxy. The node becomes an LDAP proxy.

Example 2

Mount-R1NamingContextBackend -dn 'o=hr' -datasource 'northwind' -schema 'northwind' -tableViews 'APP.EMPLOYEES'

Presents the APP.EMPLOYEES table of the northwind database at o=hr. The node becomes a database proxy.

Example 3

Mount-R1NamingContextBackend -dn 'ou=hr,o=aggregate' -datasource 'northwind' -schema 'northwind' -tableViews 'APP.EMPLOYEES'

Presents the table beneath the label ou=hr,o=aggregate. Mounted on a label, the database is presented as a virtual tree, whose properties Set-R1NamingContextVirtualTreeProperty changes.

Example 4

New-R1NamingContext -dn 'o=store'
Mount-R1NamingContextBackend -dn 'o=store' -Store

Adds a root naming context and mounts a RadiantOne Directory store on it.

PARAMETERS

-dn

The DN of the naming context node to mount the backend on.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-datasource

The name of the data source to mount.

Type: String
Parameter Sets: DbProxy, LdapProxy
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-remoteBaseDn

The DN in the LDAP data source whose entries are presented.

Type: String
Parameter Sets: LdapProxy
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-tableViews

The tables or views to present, named as they appear in the data catalog schema, for example APP.EMPLOYEES.

Type: String[]
Parameter Sets: DbProxy
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-schema

The data catalog schema describing the database.

Type: String
Parameter Sets: DbProxy
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-isQuoteTableNames

Whether table names are quoted in the queries sent to the database.

Type: Boolean
Parameter Sets: DbProxy
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-isQuoteColumnNames

Whether column names are quoted in the queries sent to the database.

Type: Boolean
Parameter Sets: DbProxy
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-isActive

Whether the RadiantOne Directory store is active once mounted. Defaults to true.

Type: Boolean
Parameter Sets: Store
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Store

Mounts a RadiantOne Directory store, which holds its entries itself rather than presenting another source.

Type: SwitchParameter
Parameter Sets: Store
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Void

NOTES

The node must be a root naming context or a label which has no backend of its own.

The API also defines virtual tree and DSML/SPML service backends, which this command does not mount.

New-R1NamingContext

New-R1NamingContextLabel

Get-R1NamingContext