Returns the real Key ID (of type long) corresponding to this User Id.

Namespace: DidiSoft.Pgp
Assembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547

Syntax

C#
public long GetKeyIdForUserId(
	string userId
)
Visual Basic
Public Function GetKeyIdForUserId ( _
	userId As String _
) As Long
Visual C++
public:
long long GetKeyIdForUserId(
	String^ userId
)

Parameters

userId
Type: System..::..String
User Id of the key owner

Return Value

the key Id if a match has been found or -1 if no match was found

See Also