New-R1NamingContextContent
New-R1NamingContextContent
SYNOPSIS
Adds a child content node.
SYNTAX
New-R1NamingContextContent [-dn] <String> [-relationshipObjectDn] <String> [[-isQuoteTableNames] <Boolean>]
[[-isQuoteColumnNames] <Boolean>] [[-isRelatedObjectsOnly] <Boolean>] [[-schema] <String>] [-WhatIf]
[-Confirm] [<CommonParameters>]
DESCRIPTION
Adds a content node beneath the naming context node identified by its DN, built from the given relationship object.
EXAMPLES
Example 1
New-R1NamingContextContent -dn 'ou=people,o=views' -relationshipObjectDn 'inetorgperson' -schema 'default'
Adds a content node beneath ou=people,o=views presenting the inetorgperson object of the LDAP schema named default.
Example 2
New-R1NamingContextContent -dn 'EMPLOYEES,dv=northwind0,ou=context,o=views' -relationshipObjectDn 'APP.EMPLOYEES,APP.ORDERS,APP.CUSTOMERS' -schema 'northwind'
Adds a content node beneath the EMPLOYEES container presenting the customers related to each employee, following the path from APP.EMPLOYEES through APP.ORDERS to APP.CUSTOMERS.
PARAMETERS
-dn
The DN of the naming context node.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-relationshipObjectDn
The relationship object the new node is built from, given as a comma separated path of schema objects.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-isQuoteTableNames
Quotes table names in the generated queries. Sent as false when not specified.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-isQuoteColumnNames
Quotes column names in the generated queries. Sent as false when not specified.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-isRelatedObjectsOnly
Restricts the node to related objects only. Sent as false when not specified, as the API would otherwise take it to be true.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-schema
The name of the schema holding the relationship object.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
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
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 relationship object must already exist in a data catalog schema.