getUID method is undefined

im unable to use this when this function is there, because it doesnt exists