# Convert-BluGenieUserName2SID

﻿

### Convert-BluGenieUserName2SID <a href="#convert-blugenieusername2sid" id="convert-blugenieusername2sid"></a>

### SYNOPSIS <a href="#synopsis" id="synopsis"></a>

Convert UserName to Security ID (SID)

### SYNTAX <a href="#syntax" id="syntax"></a>

```
Convert-BluGenieUserName2SID [[-UserName] <String>] [[-Walkthrough]] [<CommonParameters>]
```

### DESCRIPTION <a href="#description" id="description"></a>

Convert UserName to Security ID (SID)

### EXAMPLES <a href="#examples" id="examples"></a>

#### EXAMPLE 1 <a href="#example-1" id="example-1"></a>

```
Convert-BluGenieUserName2SID -UserName Administrator
```

```
This will return Security ID (SID) for the user 'Administrator'
```

### PARAMETERS <a href="#parameters" id="parameters"></a>

#### UserName <a href="#username" id="username"></a>

```
-UserName <String>
   UserName to be converted to Security ID (SID)
   
   <Type>String<Type>
   
   Required?                    false
   Position?                    1
   Default value                
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

#### Walkthrough <a href="#walkthrough" id="walkthrough"></a>

```
-Walkthrough [<SwitchParameter>]
   
   Required?                    false
   Position?                    2
   Default value                False
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

#### CommonParameters <a href="#commonparameters" id="commonparameters"></a>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
