NAME
Set-DcsUserProperties
SYNOPSIS
Sets the properties of a user.
SYNTAX
Set-DcsUserProperties -User <Object> [ -Name <String> ] [ -Email <String> ] [ -Description <String> ] [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Sets the properties of a user. Specify the parameters to set or change.
PARAMETERS
- -User<Object>
- UserData object, name, or ID that identifies the user.
-
- Required: true
- Position: 1
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -Name<String>
- Use this parameter to change the name of the user.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Email<String>
- Use this parameter to set an email address of the user.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Description<String>
- Use this parameter to set a description of the user. To remove the description, use an empty string as the value; for example "".
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection will be used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
UserData : Object that identifies and describes the user.
OUTPUTS
UserData : Object that identifies and describes the user.
NOTES
Also see Add-DcsUserRole, Get-DcsUser, Get-DcsUserRole, Remove-DcsUserRole.
EXAMPLES
-------------- Example 1 Sets a property for a user specified by name --------------
Set-DcsUserProperties -User "Joe Schmoe" -Email jschmoe@acme.com
Sets the email address for the user named "Joe Schmoe" to be "jschmoe@acme.com.
Name | : | Joe Schmoe |
Description | : | |
EmailAddress | : | jschmoe@acme.com |
BlendedPrivileges | : | ViewInformation |
IsAdministrator | : | False |
RoleIds | : | {{B1210FAD-5DAC-4a7b-B3D6-EEB8DFFE1F7A}} |
Id | : | a23fdc22-90d5-4961-bfcb-5267801a4acf |
Caption | : | Joe Schmoe |
ExtendedCaption | : | Joe Schmoe |
Internal | : | False |