Get-R1JoinCondition
Get-R1JoinCondition
SYNOPSIS
Builds a join condition from the given join properties.
SYNTAX
Get-R1JoinCondition [-secondaryObject] <String> [-primaryJoinAttribute] <String>
[-secondaryJoinAttribute] <String> [<CommonParameters>]
DESCRIPTION
Asks the server to construct a join condition string from a secondary object and the pair of attributes being joined on, and returns the condition it produced. Nothing is saved.
EXAMPLES
Example 1
Get-R1JoinCondition -secondaryObject 'inetOrgPerson' -primaryJoinAttribute 'uid' -secondaryJoinAttribute 'uid'
Returns the join condition built from those properties, in the form the join commands take: (&(uid=@[uid:varchar])(objectclass=inetOrgPerson)).
Example 2
Get-R1JoinCondition -secondaryObject 'inetOrgPerson' -primaryJoinAttribute 'EMPLOYEEID' -secondaryJoinAttribute 'employeeNumber'
Returns the condition joining the EMPLOYEEID column of a database object to the employeeNumber attribute of inetOrgPerson entries.
PARAMETERS
-secondaryObject
The secondary object of the join.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-primaryJoinAttribute
The attribute of the primary object to join on.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-secondaryJoinAttribute
The attribute of the secondary object to join on.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
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.