Click or drag to resize

UserInfoSIDToAccountName Method

Converts the given SID to the corresponding account name.

Namespace: GSF.Identity
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public static string SIDToAccountName(
	string sid
)
View Source

Parameters

sid  String
The SID for which to look up the account name.

Return Value

String
The account name for the given SID, or the SID if no account name can be found.
Remarks
If the sid cannot be converted to an account name, sid will be the return value.
See Also