C# Class SebWindowsServiceWCF.ServiceImplementations.SIDHandler

Static implementation to convert a local username to the corresponding SID-Value where the registry keys are stored under HKEY_USERS
Mostra file Open project: SafeExamBrowser/seb-win Class Usage Examples

Public Methods

Method Description
GetSIDFromUsername ( string username ) : string

Returns the SID of the user with the username Throws an exception of something does not work

Method Details

GetSIDFromUsername() public static method

Returns the SID of the user with the username Throws an exception of something does not work
public static GetSIDFromUsername ( string username ) : string
username string Username
return string