Get-ADUserFromRRN
SYNOPSIS
Retrieves an Active Directory user based on their Rijksregister number (RRN).
SYNTAX
DESCRIPTION
The `Get-ADUserFromRRN` function retrieves an Active Directory user by querying the hashed Rijksregister number (RRN) stored in the `extensionAttribute7` attribute. Additional properties of the user can be retrieved if specified.
EXAMPLES
EXAMPLE 1
Retrieves the Active Directory user associated with the specified Rijksregister number.
EXAMPLE 2
Retrieves the Active Directory user associated with the specified Rijksregister number and includes the `DisplayName` and `EmailAddress` properties.
PARAMETERS
-RijksRegisterNummer
The Rijksregister number (RRN) of the user to query. Accepts both formatted (e.g., `12.34.56-789.01`) and unformatted (e.g., `12345678901`) RRN values.
Type: Object
Parameter Sets: (All)
Aliases: RRNR
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Properties
A list of additional properties to retrieve for the user. If not specified, only default properties are returned.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.