/Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h
Returns bone name linked to a given named socket on the skeletal mesh component. If you're unsure to deal with sockets or bones names, you can use this function to filter through, and always return the bone name.
bone name
[FName](API\Runtime\Core\UObject\FName) GetSocketBoneName ( [FName](API\Runtime\Core\UObject\FName) InSocketName ) const