Get-WETUser
SYNOPSIS
Retrieve user information from the WET API.
SYNTAX
General (Default)
GebruikerId
DESCRIPTION
This function retrieves user information from the WET API. It supports searching for users by name or retrieving a specific user by ID. Optionally, credentials can be provided for authentication.
EXAMPLES
EXAMPLE 1
Retrieves user information for users matching the name "John Doe".
EXAMPLE 2
Retrieves information for the user with ID 123.
EXAMPLE 3
Retrieves user information for users matching the name "John Doe" using the specified credentials.
PARAMETERS
-Search
A string to search for users by name.
Type: String
Parameter Sets: General
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Id
The ID of the user to retrieve.
Type: Int32
Parameter Sets: GebruikerId
Aliases:
Required: True
Position: 1
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Credential
The PSCredential object to use for authentication. If not provided, default credentials will be used.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
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.