Create a new user
-Username
: The user's email address (or username)
-First
: The user's first name
-Last
: The user's last name
PS> Add-CsUser -Username <string> -First <string> -Last <string>
Assign one or more roles to an existing user
-Id
: ID of a user
-Role
: An array of one or more roles to assign to the user
PS> Add-CsUserRole -Id <string> -Role @(<string>, <string>)
Modify an existing user's first or last name
-Id
: ID of a user
-First
: The user's first name
-Last
: The user's last name
PS> Edit-CsUser -Id <string> -Last <string>
List all roles available in your account
PS> Get-CsRole
Retrieve all User Ids in your account, or an Id for a specific Username
-Username
: This is usually the user’s email address, but may vary based on your configuration
PS> Get-CsUserId
Get info about user IDs
-Id
: ID of one or more users
PS> Get-CsUserInfo -Id @(<string>, <string>)
List all usernames (typically email addresses) in your account
PS> Get-CsUsername
Show roles assigned to a user
-Id
: ID of a user
PS> Get-CsUserRole -Id <string>
Delete a user permanently
-Id
: ID of a user
PS> Remove-CsUser -Id <string>
Revoke one or more roles from a user
-Id
: ID of a user
-Role
: An array of one or more roles to remove from the user
PS> Remove-CsUserRole -Id <string> -Role @(<string>, <string>)