| 
            
              UserInfoSIDToAccountName Method
             | 
          
        
        
            Converts the given SID to the corresponding account name.
            
        
        Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxpublic static string SIDToAccountName(
	string sid
)
Public Shared Function SIDToAccountName ( 
	sid As String
) As String
public:
static String^ SIDToAccountName(
	String^ sid
)
static member SIDToAccountName : 
        sid : string -> string GSF.Identity.UserInfo.SIDToAccountName = function(sid);
 View SourceParameters
- sid  String
 - The SID for which to look up the account name.
 
Return Value
StringThe 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